Browse Source

typofix in getScreenResolutionList

AzaezelX 4 years ago
parent
commit
3c0ca5ea88

+ 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);
    }