mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-10 04:31:34 -10:00
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:
1 parent
2fd98c908b
commit
826dfd01fc
6 files changed
+9
-24
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user