Skip to content

Commit b4d0c20

Browse files
committed
Fixed option for R3 appears when using R2
1 parent 4d6e7be commit b4d0c20

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

res/gamedata/scripts/ui_mm_opt_video_adv.script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ function opt_video_adv:InitControls(x, y, xml, handler)
232232
_st = xml:InitStatic("video_adv:templ_item", nil)
233233
xml:InitStatic("video_adv:cap_r3_dynamic_wet_surfaces_sm_res", _st)
234234
ctl = xml:InitTrackBar("video_adv:track_r3_dynamic_wet_surfaces_sm_res", _st)
235-
table.insert(handler.m_preconditions, {func=mode_ge_2, control=_st})
235+
table.insert(handler.m_preconditions, {func=mode_ge_3, control=_st})
236236

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

0 commit comments

Comments
 (0)