瀏覽代碼

typofix in getScreenResolutionList

AzaezelX 4 年之前
父節點
當前提交
3c0ca5ea88
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Templates/BaseGame/game/core/rendering/scripts/graphicsOptions.tscript

+ 1 - 1
Templates/BaseGame/game/core/rendering/scripts/graphicsOptions.tscript

@@ -848,7 +848,7 @@ function getScreenResolutionList(%deviceID, %deviceMode)
    // For borderless on non-windows OS only add the usable area.
    if ((%deviceMode == $Video::ModeBorderless) && ($platform !$= "windows"))
    {
-      %borderlessRes = getWords(Canvas.getMonitorUsableRect(%newDeviceID), 2);
+      %borderlessRes = getWords(Canvas.getMonitorUsableRect(%deviceID), 2);
       return _makePrettyResString(%borderlessRes);
    }