fix shoot
This commit is contained in:
parent
4ccb261f44
commit
c6a011307e
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ if((mouse_check_button_pressed(mb_left) && os_type != os_psvita) || game
|
||||||
|
|
||||||
if(energy >= 20)
|
if(energy >= 20)
|
||||||
{
|
{
|
||||||
var new_bullet = instance_create(x,y+10,obj_bullet);
|
var new_bullet = instance_create(x-10,y,obj_bullet);
|
||||||
audio_play_sound(snd_shoot,2,false);
|
audio_play_sound(snd_shoot,2,false);
|
||||||
new_bullet.image_angle = image_angle;
|
new_bullet.image_angle = image_angle;
|
||||||
new_bullet.direction = image_angle;
|
new_bullet.direction = image_angle;
|
||||||
|
|
Reference in a new issue