mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Avoid breaking compatibility with gamedirs with old HourlyUpdate scripts
They are mapped to the right variable now
This commit is contained in:
@@ -581,6 +581,16 @@ void IniGlobalGameSetting(lua_State *L)
|
||||
lua_pushinteger(L, guiMin);
|
||||
lua_setglobal(L, "guiMin");
|
||||
|
||||
lua_pushinteger(L, guiDay);
|
||||
lua_setglobal(L, "cDay");
|
||||
|
||||
lua_pushinteger(L, guiHour);
|
||||
lua_setglobal(L, "cHour");
|
||||
|
||||
lua_pushinteger(L, guiMin);
|
||||
lua_setglobal(L, "cMin");
|
||||
|
||||
|
||||
lua_pushinteger(L, guiCurrentScreen);
|
||||
lua_setglobal(L, "guiCurrentScreen");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user