mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixes #9158.
Neither the value True nor False are null. Removes breaking null check
This commit is contained in:
@@ -253,7 +253,7 @@ var/global/photo_count = 0
|
||||
var/viewer = user
|
||||
if(user.client) //To make shooting through security cameras possible
|
||||
viewer = user.client.eye
|
||||
var/can_see = (dummy in viewers(world.view, viewer)) != null
|
||||
var/can_see = (dummy in viewers(world.view, viewer))
|
||||
|
||||
dummy.loc = null
|
||||
dummy = null //Alas, nameless creature //garbage collect it instead
|
||||
|
||||
Reference in New Issue
Block a user