mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Fixed Two Bugs
This commit is contained in:
@@ -250,7 +250,7 @@ ThisModule.Gui = Gui.popup{
|
||||
local btn = next:draw(title)
|
||||
btn.style.width = 20
|
||||
btn.style.height = 20
|
||||
if Role and Role.allowed(frame.player_index,'create-poll') or player.admin then
|
||||
if Role and Role.allowed(frame.player_index,'create-poll') or game.players[frame.player_index].admin then
|
||||
local btn = create_poll:draw(title)
|
||||
btn.style.width = 20
|
||||
btn.style.height = 20
|
||||
|
||||
Reference in New Issue
Block a user