Skip to content

Commit

Permalink
Fixed option for R3 appears when using R2
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed Sep 4, 2018
1 parent 4d6e7be commit b4d0c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/gamedata/scripts/ui_mm_opt_video_adv.script
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ function opt_video_adv:InitControls(x, y, xml, handler)
_st = xml:InitStatic("video_adv:templ_item", nil)
xml:InitStatic("video_adv:cap_r3_dynamic_wet_surfaces_sm_res", _st)
ctl = xml:InitTrackBar("video_adv:track_r3_dynamic_wet_surfaces_sm_res", _st)
table.insert(handler.m_preconditions, {func=mode_ge_2, control=_st})
table.insert(handler.m_preconditions, {func=mode_ge_3, control=_st})

-- r3_volumetric_smoke >r25
_st = xml:InitStatic("video_adv:templ_item", nil)
Expand Down

0 comments on commit b4d0c20

Please sign in to comment.