MCPcopy 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
23bool allowedittoggle()
24{
25 bool allow = !curpeer || gamemode==1;
26 if(!allow) conoutf("editing in multiplayer requires coopedit mode (1)");
27 return allow;
28}
29
30void throttle();
31

Callers 1

toggleeditFunction · 0.85

Calls 1

conoutfFunction · 0.70

Tested by

no test coverage detected