mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-12 19:06:09 -10:00
fix problems with lua scripts and post-processing
This commit is contained in:
1 parent
41156280df
commit
6939a6c05b
2 files changed
+6
No files matched your search
@@ -9958,6 +9958,10 @@ ADE_FUNC(loadMission, l_Mission, "Mission name", "Loads a mission", "boolean", "
|
||||
if(!ade_get_args(L, "s", &s))
|
||||
return ade_set_error(L, "b", false);
|
||||
|
||||
// clear post processing settings
|
||||
if(!Is_standalone)
|
||||
gr_screen.gf_set_default_post_process();
|
||||
|
||||
//NOW do the loading stuff
|
||||
game_stop_time();
|
||||
get_mission_info(s, &The_mission, false);
|
||||
|
||||
Reference in new issue
Block a user