mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Fixed role change not updating buttons
This commit is contained in:
@@ -628,4 +628,8 @@ Event.on_nth_tick(150,function()
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
--- Makes sure the right buttons are present when role changes
|
||||||
|
Event.add(Roles.player_role_assigned,rocket_info 'redraw')
|
||||||
|
Event.add(Roles.player_role_unassigned,rocket_info 'redraw')
|
||||||
|
|
||||||
return rocket_info
|
return rocket_info
|
||||||
@@ -406,4 +406,8 @@ Store.register(task_store,function(value,task_id)
|
|||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
--- Makess sure the right buttons are present when roles change
|
||||||
|
Event.add(Roles.player_role_assigned,task_list 'redraw')
|
||||||
|
Event.add(Roles.player_role_unassigned,task_list 'redraw')
|
||||||
|
|
||||||
return task_list
|
return task_list
|
||||||
Reference in New Issue
Block a user