1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-31 02:19:09 +00:00

Codefix bd1a3fe0: Incorrect handling of squirrel stack (#14538)

This commit is contained in:
Loïc Guilloux
2025-08-26 16:00:01 +02:00
committed by GitHub
parent d3d25a39a0
commit 995f30bff0

View File

@@ -181,7 +181,7 @@ void ScriptText::SetPadParameterCount(HSQUIRRELVM vm)
} }
} }
} }
sq_pop(vm, top); sq_settop(vm, top);
} }
EncodedString ScriptText::GetEncodedText() EncodedString ScriptText::GetEncodedText()