Преглед изворни кода

Merge pull request #500 from Azaezel/alpha40/ScreenResFix

typofix in getScreenResolutionList
Lukas Joergensen пре 4 година
родитељ
комит
2c87c69dfc

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