Use device type if username is unavailable

This commit is contained in:
Minz committed 2023-07-31 17:15:24 +02:00
1 parent d7d8dff736
commit 1210d76381
1 file changed
+2
+2
View File
@@ -25,6 +25,8 @@ func _ready():
if OS.has_environment("USERNAME"):
hostname = "%s/%s" % [OS.get_environment("USERNAME"), hostname]
else:
hostname = "%s/%s" % [OS.get_name(), hostname]
print("Starting render node")