Fixed few _G functions

This commit is contained in:
Cooldude2606
2018-04-15 22:36:43 +01:00
parent 7d61a9e560
commit f6c5b8f25e
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ Discord: https://discord.gg/r6dC2uK
]]
--Please Only Edit Below This Line-----------------------------------------------------------
function get_afk_time(player)
local function get_afk_time(player)
local rank = Ranking.get_rank(player)
local count = #game.connected_players
local base = rank.base_afk_time or false

View File

@@ -76,7 +76,7 @@ local function report_message(player,by_player,reason)
}
end
function count_reports(player)
local function count_reports(player)
local player = Game.get_player(player)
if not player then return 0 end
local _count = 0