more ui tweaks and started on enemy health bar
This commit is contained in:
@@ -280,6 +280,8 @@ func bullet_fire():
|
||||
func can_fire():
|
||||
if anim_player.is_playing() and anim_player.current_animation == "reload":
|
||||
return false
|
||||
elif weapon_info.weapon_type == 0 and GameGlobals.gun_ammo[weapon_info.gun_name] <= 0:
|
||||
return false
|
||||
else:
|
||||
return true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user