Fixed role change not updating buttons

This commit is contained in:
Cooldude2606
2019-05-30 13:15:55 +01:00
parent a4543b44fe
commit 2fc58e2e47
2 changed files with 8 additions and 0 deletions

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