From ee9dec8a3a8fb1a5b7d2c07fa45895531b532987 Mon Sep 17 00:00:00 2001 From: Tanasart Date: Fri, 26 Jul 2024 10:09:09 +0700 Subject: [PATCH] key displayer only show in dev mode --- scripts/preferences/preferences.gml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/preferences/preferences.gml b/scripts/preferences/preferences.gml index 64f3a594e..c489e608c 100644 --- a/scripts/preferences/preferences.gml +++ b/scripts/preferences/preferences.gml @@ -315,7 +315,7 @@ PREFERENCES.double_click_delay /= 60; TESTING = struct_try_get(PREFERENCES, "test_mode", false); - if(TESTING) { + if(TESTING && GM_build_type == "run") { log_message("PREFERENCE", "Test mode enabled"); instance_create_depth(0, 0, 0, addon_key_displayer); }