Added get_pause

This commit is contained in:
korenkonder
2024-05-01 22:07:46 +03:00
parent 6c057bfb98
commit 3f5220bdec
10 changed files with 98 additions and 67 deletions
+1 -1
View File
@@ -2744,7 +2744,7 @@ bool TaskEffectLitproj::init() {
}
bool TaskEffectLitproj::ctrl() {
if (!stage_param_data_litproj_current)
if (!stage_param_data_litproj_current || get_pause())
return false;
light_data& light = rctx_ptr->light_set[LIGHT_SET_MAIN].lights[LIGHT_PROJECTION];