Added left Gui plus same changes else where

This commit is contained in:
Cooldude2606 committed 2017-07-03 20:06:26 +01:00
1 parent 71e789b508
commit f1ce424e90
4 files changed
+27 -7

No files matched your search

@@ -29,7 +29,7 @@ end
--draw the toolbar to the player only showing buttons within their restriction
function toolbar.draw(player)
if not player then error('Need a player to draw to') end
local toolbar_frame = player.gui.top.toolbar or player.gui.top.add{name='toolbar',type='flow'}
local toolbar_frame = player.gui.top
toolbar_frame.clear()
for _,btn in pairs(toolbar.buttons) do
local rank = get_rank(player)