From 3c0ca5ea888088b7ed12244aa01379f11995d85b Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Fri, 9 Jul 2021 21:17:13 -0500 Subject: [PATCH] typofix in getScreenResolutionList --- .../game/core/rendering/scripts/graphicsOptions.tscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Templates/BaseGame/game/core/rendering/scripts/graphicsOptions.tscript b/Templates/BaseGame/game/core/rendering/scripts/graphicsOptions.tscript index 21b5ae9c2..40fcc9e6d 100644 --- a/Templates/BaseGame/game/core/rendering/scripts/graphicsOptions.tscript +++ b/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); }