Integrate per-save identity and interaction UI
This commit is contained in:
parent
ac82a28f3b
commit
4fda6e97f6
58 changed files with 3471 additions and 461 deletions
|
|
@ -152,7 +152,10 @@ func is_local_recipient(letter: Dictionary) -> bool:
|
|||
|
||||
func get_local_display_name() -> String:
|
||||
var record := _session.get_peer_record(_session.get_local_peer_id())
|
||||
return record.display_name if record != null else "Player"
|
||||
return (
|
||||
record.display_name
|
||||
if record != null else NetworkProfilePreferences.DEFAULT_DISPLAY_NAME
|
||||
)
|
||||
|
||||
|
||||
func get_recipient_choices() -> Array[Dictionary]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue