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