feat: pushing dragons to server
This commit is contained in:
parent
b080ab7bf4
commit
f9f38ba95c
3 changed files with 13 additions and 6 deletions
|
@ -92,6 +92,7 @@ func move_window_to_bottom_right():
|
|||
|
||||
func add_dragon(properties: DragonProperties):
|
||||
var id: int = _library.add_dragon(properties)
|
||||
dragon_sharing.send(properties)
|
||||
for spot in dragon_spots:
|
||||
if not _filled_spots.has(spot):
|
||||
_instantiate_dragon_ingame(spot.position, properties)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue