mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[server] Match "lagcomp" Initialization
This commit is contained in:
parent
a072f8b32d
commit
c5e249736f
@ -238,10 +238,10 @@ int main (int argc, char** argv)
|
||||
pConsole->ModifyVariableFlags("logtimeformat", 2);
|
||||
pConsole->ModifyVariableFlags("lagcompmode", 2);
|
||||
|
||||
if(pConsole->GetIntVariable("lagcompmode") <= 0)
|
||||
pConsole->AddStringVariable("lagcomp", 6, "Off");
|
||||
else
|
||||
if(pConsole->GetIntVariable("lagcompmode") > 0)
|
||||
pConsole->AddStringVariable("lagcomp", 6, "On");
|
||||
else
|
||||
pConsole->AddStringVariable("lagcomp", 6, "Off");
|
||||
|
||||
// Add the version as a rule
|
||||
pConsole->AddStringVariable("version", 6, SAMP_VERSION);
|
||||
|
Loading…
Reference in New Issue
Block a user