Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/assaultcube/AC
/ allowedittoggle
Function
allowedittoggle
source/src/client.cpp:23–28 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
21
}
22
23
bool allowedittoggle()
24
{
25
bool allow = !curpeer || gamemode==1;
26
if(!allow) conoutf(
"editing in multiplayer requires coopedit mode (1)"
);
27
return allow;
28
}
29
30
void throttle();
31
Callers
1
toggleedit
Function · 0.85
Calls
1
conoutf
Function · 0.70
Tested by
no test coverage detected