From 8f392817d4bb9164881199fdac6a2485b967e6a4 Mon Sep 17 00:00:00 2001 From: Lojemiru <33508026+Lojemiru@users.noreply.github.com> Date: Wed, 28 Jul 2021 22:22:19 -0500 Subject: [PATCH] Fixes #65 --- objects/oIGT.object.gmx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/oIGT.object.gmx b/objects/oIGT.object.gmx index b8be482..1627883 100644 --- a/objects/oIGT.object.gmx +++ b/objects/oIGT.object.gmx @@ -132,7 +132,7 @@ if (!surface_exists(igt_surface)) igt_surface = surface_create(320 + oControl.wi 1 var d = application_get_position(); -if(room != rm_transition && instance_exists(oCharacter) && global.ingame && oControl.displaygui) draw_surface_ext(igt_surface, oControl.displayx - d[0], oControl.displayy - d[1], oControl.display_scale, oControl.display_scale, 0, -1, 1); +if(room != rm_transition && instance_exists(oCharacter) && global.ingame && oControl.displaygui && global.opshowhud) draw_surface_ext(igt_surface, oControl.displayx - d[0], oControl.displayy - d[1], oControl.display_scale, oControl.display_scale, 0, -1, 1);