The problem is that Engine outlives GameController and thus also LuaScriptInterface. The solution is to not try to access LSI's lua_State if it doesn't exist; this is the case in Engine's dtor. This is ugly as hell and the root of the problem is the cursed ownership model of LuaComponents and Windows by Engine, which I don't think I'll be fixing any time soon. |
||
---|---|---|
.. | ||
ConfirmPrompt.cpp | ||
ConfirmPrompt.h | ||
ErrorMessage.cpp | ||
ErrorMessage.h | ||
InformationMessage.cpp | ||
InformationMessage.h | ||
meson.build | ||
SaveIDMessage.cpp | ||
SaveIDMessage.h | ||
TextPrompt.cpp | ||
TextPrompt.h |