Many fixes
This commit is contained in:
parent
f234ca974e
commit
e758c9f042
11 changed files with 8784 additions and 8739 deletions
|
|
@ -6,10 +6,10 @@ func _on_visibility_changed() -> void:
|
|||
process_mode = Node.PROCESS_MODE_INHERIT if visible else Node.PROCESS_MODE_DISABLED
|
||||
|
||||
func _process(_delta: float) -> void:
|
||||
return
|
||||
if player_id == -1:
|
||||
%PlayerNickname.text = ""
|
||||
%Money.text = ""
|
||||
else:
|
||||
%PlayerNickname.text = Session.player_data[player_id]["nickname"]
|
||||
%Money.text = str(Session.player_data[player_id]["money"])
|
||||
if Session.player_data.has(player_id):
|
||||
%PlayerNickname.text = Session.player_data[player_id]["nickname"]
|
||||
%Money.text = str(Session.player_data[player_id]["money"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue