Added logs
This commit is contained in:
@@ -101,6 +101,7 @@ func handle_damage(dmg: int, src: Node) -> void:
|
|||||||
hasiframes = true
|
hasiframes = true
|
||||||
invulnerable_cooldown_timer.start()
|
invulnerable_cooldown_timer.start()
|
||||||
if healthPoints <= 0:
|
if healthPoints <= 0:
|
||||||
|
print("Player died. Respawn button not implemented.")
|
||||||
isAlive = false
|
isAlive = false
|
||||||
|
|
||||||
func collect_resource(damnt: int) -> void:
|
func collect_resource(damnt: int) -> void:
|
||||||
|
|||||||
Reference in New Issue
Block a user