Clean up SweetLogger prints by making file and functions arguments automatic
This commit is contained in:
@@ -9,10 +9,10 @@ func _ready() -> void:
|
||||
if not kitchen_scene:
|
||||
push_error("StationSpawner missing kitchen_scene")
|
||||
|
||||
SweetLogger.debug("initializing", [], "kitchen_instantiator.gd", "_ready")
|
||||
SweetLogger.debug("initializing", [])
|
||||
|
||||
if NetworkManager.owns_world():
|
||||
SweetLogger.debug("initializing on server", [], "kitchen_instantiator.gd", "_ready")
|
||||
SweetLogger.debug("initializing on server", [])
|
||||
# Later we will do procedural generation here.
|
||||
# For now we just load a scene.
|
||||
NetworkManager.call_deferred("spawn_item", kitchen_scene.resource_path, transform)
|
||||
|
||||
Reference in New Issue
Block a user