This commit is contained in:
patrick_pluto 2024-08-03 22:24:08 +02:00
commit 8435fb0cf8
9 changed files with 140 additions and 36 deletions

View file

@ -11,7 +11,7 @@ extends StaticBody3D
const TARGET = 100
var current = 0
var pc_occupied = [0, 0, 0,]
var pc_occupied = [0, 0, 0]
var pc_body = [0, 0, 0]
@ -33,7 +33,6 @@ func _on_computer_tick_timeout():
func _on_pc_1_area_body_entered(body):
if pc_occupied[0] == 0:
body.has_method("_input")
pc_occupied[0] = 1
pc_body[0] = body