Key handling 1-4

This commit is contained in:
Senad Uka
2022-01-31 05:28:47 +01:00
parent 5f7892f8d3
commit a6008b7240
3 changed files with 6 additions and 5 deletions

Binary file not shown.

View File

@@ -1,6 +1,4 @@
if keyboard_check(ord("1"))
{
switch (keyboard_key)
switch (keyboard_key)
{
case ord("1"):
case ord("2"):
@@ -9,5 +7,4 @@ if keyboard_check(ord("1"))
instance_destroy()
instance_create_layer(0,0,"Instances", QuestionGUI)
break;
}
}
}