Moving some of game to use MessageBus
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user