mirror of
https://github.com/Relintai/broken_seals.git
synced 2025-01-11 13:51:11 +01:00
Update ProfileManager call.
This commit is contained in:
parent
315df2a10a
commit
dc6aab9a2d
@ -28,7 +28,7 @@ var spell_book_button
|
|||||||
export (NodePath) var lock_button_path
|
export (NodePath) var lock_button_path
|
||||||
var lock_button
|
var lock_button
|
||||||
|
|
||||||
var player
|
var player : Entity
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
lock_button = get_node(lock_button_path)
|
lock_button = get_node(lock_button_path)
|
||||||
@ -47,7 +47,7 @@ func _lock_button_click():
|
|||||||
if cls == null:
|
if cls == null:
|
||||||
return
|
return
|
||||||
|
|
||||||
var profile = ProfileManager.get_class_profile(cls.id)
|
var profile = ProfileManager.getc_player_profile().get_class_profile(cls.resource_path)
|
||||||
|
|
||||||
profile.actionbar_locked = not profile.actionbar_locked
|
profile.actionbar_locked = not profile.actionbar_locked
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user