mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-04-03 17:01:19 +00:00
Do not rerun MapLoad Lua hook when reloading gamestate
Prevents spam for addons that use it and some potential issues
This commit is contained in:
parent
993c53436b
commit
a29e3a6c08
1 changed files with 2 additions and 1 deletions
|
@ -3381,7 +3381,8 @@ boolean P_SetupLevel(boolean skipprecip, boolean reloadinggamestate)
|
|||
}
|
||||
P_PreTicker(2);
|
||||
#ifdef HAVE_BLUA
|
||||
LUAh_MapLoad();
|
||||
if (!reloadinggamestate)
|
||||
LUAh_MapLoad();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue