Global Fixed :D

This commit is contained in:
Cooldude2606
2018-10-14 20:55:21 +01:00
parent 05f6fa4657
commit f02d0d5d37
3 changed files with 14 additions and 6 deletions

View File

@@ -326,7 +326,6 @@ end
function Role._prototype:get_players(online)
if not self_test(self,'role','get_players') then return end
if online and not type_error(online,'boolean','Invalid argument #1 to role:get_players, online is not a boolean.') then return end
log(serpent.line(global))
if not global.roles[self.name] then global.roles[self.name] = {} end
local rtn = {}
for _,player_index in pairs(global.roles[self.name]) do