Sites
This commit is contained in:
parent
bd16f01192
commit
6422ffb13c
13 changed files with 142 additions and 5 deletions
9
scripts/multiplayer/plant_site/plant_deadzone.gd
Normal file
9
scripts/multiplayer/plant_site/plant_deadzone.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
extends Area3D
|
||||
|
||||
@export var bound_plant: Area3D
|
||||
|
||||
func _ready() -> void:
|
||||
if multiplayer.is_server():
|
||||
Session.plant_deadzones[bound_plant.name] = self
|
||||
else:
|
||||
queue_free()
|
||||
Loading…
Add table
Add a link
Reference in a new issue