OS Logging.
This commit is contained in:
parent
9ca7b6ae03
commit
e3d9b04a64
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,7 @@ extends Node
|
|||
# 2 -> Errors/Warnings
|
||||
# 3 -> Errors/Warnings/Infos
|
||||
# 4 -> All
|
||||
var logmode: int = 2
|
||||
var logmode: int = 3
|
||||
|
||||
var ip: String = "127.0.0.1"
|
||||
var port: int = 25262
|
||||
|
@ -22,6 +22,7 @@ var mapname: String = "Testmap"
|
|||
var launchmode: int = 0
|
||||
|
||||
func _ready() -> void:
|
||||
Log.info("Running on: %s %s (%s)" % [OS.get_distribution_name(), OS.get_version(), OS.get_name()])
|
||||
var args: PackedStringArray = OS.get_cmdline_args()
|
||||
var skip: bool = false
|
||||
for i: int in range(args.size()):
|
||||
|
|
Loading…
Reference in a new issue