1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Fix build

This commit is contained in:
Ivan Savenko
2023-08-31 16:22:58 +03:00
parent 41210c1dbf
commit 747e28947a
9 changed files with 17 additions and 23 deletions

View File

@ -75,7 +75,7 @@ LuaContext::LuaContext(const Script * source, const Environment * env_):
S.push(env->game());
lua_setglobal(L, "GAME");
S.push(env->battle());
S.push(env->battle(BattleID::NONE));
lua_setglobal(L, "BATTLE");
S.push(env->eventBus());