Fix conduits
This commit is contained in:
parent
72f22731bf
commit
d3c4e6bafb
3 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in a new issue