clean up Lua frame handling a bit

There's no need to keep all this infrastructure to run every frame for a barely used situation.  This cleans it up a bit and does the position reset in the actual drawString function.
This commit is contained in:
Goober5000 committed 2022-07-08 18:59:10 -04:00
1 parent 2fd98c908b
commit 826dfd01fc
6 files changed
+9 -24

No files matched your search

-5
View File
@@ -792,11 +792,6 @@ bool script_state::IsConditionOverride(int action, object *objp1, object *objp2,
return false;
}
void script_state::EndFrame()
{
EndLuaFrame();
}
void script_state::Clear()
{
// Free all lua value references