Fixed role change not updating buttons

This commit is contained in:
Cooldude2606 committed 2019-05-30 13:15:55 +01:00
1 parent a4543b44fe
commit 2fc58e2e47
2 files changed
+8

No files matched your search

+4
View File
@@ -628,4 +628,8 @@ Event.on_nth_tick(150,function()
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
+4
View File
@@ -406,4 +406,8 @@ Store.register(task_store,function(value,task_id)
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