feat: derive resource visuals from state
This commit is contained in:
@@ -74,6 +74,7 @@ func bind_state(resource_state: ResourceStateRecord) -> bool:
|
||||
if not state.depleted.is_connected(_on_state_depleted):
|
||||
state.depleted.connect(_on_state_depleted)
|
||||
_update_presentation()
|
||||
amount_changed.emit(node_id, state.get_amount_remaining())
|
||||
_notify_world_adapters()
|
||||
return true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user