mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fix instances of improper client checking for mobs in player_list resulting in runtimes(possibly!)
This commit is contained in:
@@ -165,7 +165,7 @@ You must kill it all while minimizing the damage to the station."}
|
||||
aiPlayer.set_zeroth_law(law)
|
||||
aiPlayer << "Laws Updated: [law]"
|
||||
for(var/mob/M in player_list)
|
||||
if(!istype(M,/mob/new_player))
|
||||
if(!istype(M,/mob/new_player) && M.client)
|
||||
M << sound('sound/AI/blob_confirmed.ogg')
|
||||
var/T = M.loc
|
||||
if((istype(T, /turf/space)) || ((istype(T, /turf)) && (M.z!=1)))
|
||||
|
||||
Reference in New Issue
Block a user