From 8aa8d867a4fa5097c1e638fdcd77ce17dc0488a5 Mon Sep 17 00:00:00 2001 From: nemvar <47324920+nemvar@users.noreply.github.com> Date: Wed, 27 May 2020 17:09:07 +0200 Subject: [PATCH] Fixes scaling names (#51311) --- code/modules/client/preferences.dm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/code/modules/client/preferences.dm b/code/modules/client/preferences.dm index 675fbf3137e..0fc17b34d27 100644 --- a/code/modules/client/preferences.dm +++ b/code/modules/client/preferences.dm @@ -108,8 +108,8 @@ GLOBAL_LIST_EMPTY(preferences_datums) var/widescreenpref = TRUE ///What size should pixels be displayed as? 0 is strech to fit var/pixel_size = 0 - ///What scaling method should we use? - var/scaling_method = "normal" + ///What scaling method should we use? Distort means nearest neighbor + var/scaling_method = SCALING_METHOD_DISTORT var/uplink_spawn_loc = UPLINK_PDA var/list/exp = list() @@ -605,9 +605,9 @@ GLOBAL_LIST_EMPTY(preferences_datums) dat += "Pixel Scaling: [(button_name) ? "Pixel Perfect [button_name]x" : "Stretch to fit"]
" switch(scaling_method) - if(SCALING_METHOD_NORMAL) - button_name = "Nearest Neighbor" if(SCALING_METHOD_DISTORT) + button_name = "Nearest Neighbor" + if(SCALING_METHOD_NORMAL) button_name = "Point Sampling" if(SCALING_METHOD_BLUR) button_name = "Bilinear"