fixs
This commit is contained in:
@@ -68,4 +68,10 @@ func _on_body_entered(body: Node) -> void:
|
||||
GameController.emit_signal("point_gain", type)
|
||||
split()
|
||||
elif body is Ship and !body.is_inv():
|
||||
GameController.emit_signal("player_hit")
|
||||
body.is_currently_hit = true
|
||||
#GameController.emit_signal("player_hit")
|
||||
|
||||
|
||||
func _on_body_exited(body: Node) -> void:
|
||||
if body is Ship:
|
||||
body.is_currently_hit = false
|
||||
|
||||
Reference in New Issue
Block a user