mirror of
https://gitlab.com/skmp/dca3-game.git
synced 2025-07-31 20:10:59 +02:00
fixed script bug
This commit is contained in:
@@ -2998,9 +2998,9 @@ int8 CRunningScript::ProcessCommands300To399(int32 command)
|
||||
pCarGen->SwitchOff();
|
||||
}else if (ScriptParams[1] <= 100){
|
||||
pCarGen->SwitchOn();
|
||||
pCarGen->SetUsesRemaining(ScriptParams[1]);
|
||||
}else{
|
||||
pCarGen->SwitchOn();
|
||||
pCarGen->SetUsesRemaining(ScriptParams[1]);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user