diff --git a/components/Persister/persister.gd b/components/Persister/persister.gd index e18a771..cdc779d 100644 --- a/components/Persister/persister.gd +++ b/components/Persister/persister.gd @@ -46,7 +46,7 @@ func persist_data(key: String, value, category := PersisterEnums.Scope.RUN) -> v if _persisted[category].has(key) and _persisted[category][key] == value: return - _info("Set key <%s> in category {%s} to value |%s|" % [key, _get_category_name(category), value]) + #_info("Set key <%s> in category {%s} to value |%s|" % [key, _get_category_name(category), value]) _persisted[category][key] = value if _triggerer: diff --git a/components/Triggerer/triggerer.gd b/components/Triggerer/triggerer.gd index 8e9b8a6..fa6d0cf 100644 --- a/components/Triggerer/triggerer.gd +++ b/components/Triggerer/triggerer.gd @@ -13,7 +13,7 @@ var _connections = {} ## Trigger an event to be read in by other objects func trigger(key: String, data: Dictionary = {}) -> void: - _info("Triggered key ∧%s∧" % [key]) + #_info("Triggered key ∧%s∧" % [key]) data.trigger = key diff --git a/info_window.gd b/info_window.gd index e5f3898..309af33 100644 --- a/info_window.gd +++ b/info_window.gd @@ -77,7 +77,7 @@ func _process(delta: float) -> void: else: description_2.text = "[center]STATUS: STOPPED" - if recent_data: + if recent_data and recent_data.has("workers"): description_3.text = "[center]EFFICIENCY: %d%%" % [recent_data.efficiency] rich_text_label_2.text = "[center]%d/%d" % [recent_data.workers, recent_data.max_workers]