Minor fixes
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user