Skip to content

Commit 32fa0a1

Browse files
committed
chore: Call functions directly instead of using script_execute(), and disable surface depth
1 parent 043f298 commit 32fa0a1

7 files changed

Lines changed: 7 additions & 5 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
script_execute(control_create,0,0,0,0,0);
1+
control_create();

objects/obj_controller/Draw_0.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
script_execute(control_draw,0,0,0,0,0);
1+
control_draw();

objects/obj_controller/Other_3.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
script_execute(control_end,0,0,0,0,0);
1+
control_end();
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
script_execute(control_http,0,0,0,0,0);
1+
control_http();

objects/obj_controller/Step_0.gml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
script_execute(control_step,0,0,0,0,0);
1+
control_step();

objects/obj_controller/obj_controller.yy

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/control_create/control_create.gml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ function control_create() {
5858
last_icon = -1
5959
icon_display = 1
6060
hires = (window_scale > 1.25)
61+
surface_depth_disable(true)
6162

6263
font_table =
6364
[

0 commit comments

Comments
 (0)