cleaning up cubescript hooks
- provide a function to easily assemble and execute the command - context-selective execution of hooks - restrict potentially exploitable or harmful hooks to singleplayer-modes
This commit is contained in:
+1
-1
@@ -1238,7 +1238,7 @@ int main(int argc, char **argv)
|
||||
exec("config/defaults.cfg");
|
||||
firstrun = true;
|
||||
}
|
||||
if(identexists("afterinit")) execute("afterinit");
|
||||
exechook(HOOK_SP_MP, "afterinit", "");
|
||||
if(compatibilitymode)
|
||||
{
|
||||
per_idents = false;
|
||||
|
||||
Reference in New Issue
Block a user