made the first changes towards multiplayer working
This commit is contained in:
@ -5,9 +5,4 @@ signal took_damage(amount)
|
||||
|
||||
|
||||
func damage(amount):
|
||||
networked_damage.rpc(amount)
|
||||
|
||||
|
||||
@rpc("any_peer","call_local")
|
||||
func networked_damage(amount):
|
||||
took_damage.emit(amount)
|
||||
|
Reference in New Issue
Block a user