Explorar o código

from @oth_mars - fix borderless value lookup

AzaezelX %!s(int64=3) %!d(string=hai) anos
pai
achega
ed200ce1ef
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;