From 55c8206078534f2642f47da0c8d1c8e3c70c0782 Mon Sep 17 00:00:00 2001 From: SilicaAndPina Date: Thu, 10 Sep 2020 12:53:22 +1200 Subject: [PATCH] fix shoot --- objects/obj_player.object.gmx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objects/obj_player.object.gmx b/objects/obj_player.object.gmx index cc0476a..06a4111 100644 --- a/objects/obj_player.object.gmx +++ b/objects/obj_player.object.gmx @@ -248,7 +248,7 @@ if((mouse_check_button_pressed(mb_left) && os_type != os_psvita) || game if(energy >= 20) { - var new_bullet = instance_create(x-10,y,obj_bullet); + var new_bullet = instance_create(x,y,obj_bullet); audio_play_sound(snd_shoot,2,false); new_bullet.image_angle = image_angle; new_bullet.direction = image_angle;