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