Merge pull request #6090 from Mechoid/Hopefully_Fixes_Ghost_Checks

Hopefully fixes ghost presence checks.
This commit is contained in:
Atermonera
2019-04-18 09:22:11 -08:00
committed by GitHub
+2 -2
View File
@@ -6,7 +6,7 @@
. = 0
return
if(!M.mind || !M.client) // Logged out. They might come back but we can't do any meaningful assessments for now.
if(!M.client) // Logged out. They might come back but we can't do any meaningful assessments for now.
. = 0
return
@@ -79,4 +79,4 @@
. += assess_player_activity(O)
num++
if(num)
. = round(. / num, 0.1)
. = round(. / num, 0.1)