This commit is contained in:
Nikolay Korolev 2020-04-08 14:16:59 +03:00 committed by GitHub
parent 8e29a5ec88
commit 8ee98574ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7117,7 +7117,7 @@ int8 CRunningScript::ProcessCommands800To899(int32 command)
case COMMAND_CLOSE_GARAGE: case COMMAND_CLOSE_GARAGE:
{ {
CollectParameters(&m_nIp, 1); CollectParameters(&m_nIp, 1);
CGarages::CloseGarage(ScriptParams[1]); CGarages::CloseGarage(ScriptParams[0]);
return 0; return 0;
} }
case COMMAND_WARP_CHAR_FROM_CAR_TO_COORD: case COMMAND_WARP_CHAR_FROM_CAR_TO_COORD: