Browse Source

from @oth_mars - fix borderless value lookup

AzaezelX 3 năm trước cách đây
mục cha
commit
ed200ce1ef
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Templates/BaseGame/game/data/UI/guis/optionsMenu.tscript

+ 1 - 1
Templates/BaseGame/game/data/UI/guis/optionsMenu.tscript

@@ -434,7 +434,7 @@ function populateDisplaySettingsList()
    
    if(%mode !$= "Borderless")
    {
-      %resolutionList = getScreenResolutionList($pref::Video::deviceId, $pref::Video::deviceMode);
+      %resolutionList = getScreenResolutionList($pref::Video::deviceId, $Video::Mode[%mode]);
       %resolution = OptionsMenu.getOptionVariableValue("$pref::Video::Resolution");
       if(%resolution $= "")
          %resolution =  $pref::Video::mode;