1
Fork 0
mirror of https://github.com/Steffo99/swear-jar.git synced 2024-11-25 09:04:19 +00:00

Remove log spawn

This commit is contained in:
Steffo 2023-10-02 13:41:10 +02:00
parent d26a9b5472
commit ee536ff04c
Signed by: steffo
GPG key ID: 2A24051445686895
2 changed files with 0 additions and 4 deletions

View file

@ -23,11 +23,8 @@ func _on_sleeping_state_changed():
was_sleeping = true was_sleeping = true
func _on_body_entered(body): func _on_body_entered(body):
print("touch")
if not was_sleeping: if not was_sleeping:
if touched==false and $Timer.is_stopped(): if touched==false and $Timer.is_stopped():
print(str(self)+" hits "+str(body))
#$sound_touch.play() #$sound_touch.play()
$Timer.start() $Timer.start()
var other_node=body var other_node=body

View file

@ -55,7 +55,6 @@ func _on_purchase_success(what: PurchasableItem):
store_collector_panel.hide() store_collector_panel.hide()
func _on_store_collector_collected(_body: RigidBody2D): func _on_store_collector_collected(_body: RigidBody2D):
print("collected")
update_counter_text() update_counter_text()
func update_counter_text(): func update_counter_text():