When executing vid_restart, the callback on_loading_screen_dismissed is triggered.
This does not correspond to its description in gamedata/scripts/callbacks_gameobject.script :
-- Callback for when player dismisses loading screen after "Press Any Key to Continue" pressed
_G.OnLoadingScreenDismissed = function()
SendScriptCallback("on_loading_screen_dismissed")
end
This means on_loading_screen_dismissed can be sent multiple times in a script's lifetime, something that is often unexpected by modders.
When executing
vid_restart, the callbackon_loading_screen_dismissedis triggered.This does not correspond to its description in gamedata/scripts/callbacks_gameobject.script :
This means
on_loading_screen_dismissedcan be sent multiple times in a script's lifetime, something that is often unexpected by modders.