Minor fixes

This commit is contained in:
2026-04-19 10:57:42 +02:00
parent 3f49bb42c8
commit 623ade6291
3 changed files with 234 additions and 283 deletions

View File

@@ -680,12 +680,7 @@ func _register_buffs() -> void:
var starts_unlocked: bool = buff.unlocked or persisted_level > 0
game_state.set_buff_unlocked(buff_id, starts_unlocked)
_try_unlock_buff_from_goal(buff)
func _try_unlock_buff_from_goal(buff: GeneratorBuffData) -> void:
if game_state == null:
return
game_state._try_unlock_buff_from_goal(buff)
game_state.try_unlock_buff_from_goal(buff)
func _on_currency_changed(_changed_currency_id: StringName, _new_amount: BigNumber) -> void:
if game_state == null: