Moving some of game to use MessageBus

This commit is contained in:
2026-08-08 01:22:54 -05:00
parent 6ebee75920
commit 50439bc8e0
7 changed files with 54 additions and 83 deletions

View File

@@ -52,7 +52,7 @@ func _on_match_create_bttn_pressed() -> void:
"type": active_mode
}
Globals.lobby_data.rpc_id(1, "match_list_add_entry", match_entry)
MessageBus.emit_request.rpc_id(1, "match_list_add_entry", match_entry)
func _on_mode_bttn_pressed(button: Button) -> void:
active_mode = button.text.remove_chars("-").to_lower()