Work on pickups and multiplayer

This commit is contained in:
2026-03-19 23:50:29 -04:00
parent d128501f7c
commit 9d931a3b46
42 changed files with 771 additions and 324 deletions

View File

@@ -65,8 +65,8 @@ func is_multiplayer() -> bool:
return multiplayer_game
func start_level(pawns : Dictionary[int, StringName]) -> void:
pawns_selected = pawns
func start_level(pawn_dict : Dictionary[int, StringName]) -> void:
pawns_selected = pawn_dict
if !Multiplayer.is_host():
return
@@ -135,11 +135,11 @@ func level_spawned(peer_id : int) -> void:
check_level_ready()
func check_level_ready() -> void:
var ready : bool = true
var level_ready : bool = true
for id in level_synced:
if level_synced[id] == false:
ready = false
if ready:
level_ready = false
if level_ready:
level.setup()
func oneshot(stream : AudioStream) -> void: