Fixed looking up the /area of the loc, not the turf.

I messed up, thanks Aranclanos!
This commit is contained in:
ktccd
2015-11-26 22:48:36 +01:00
parent 8f24c37f46
commit bf7fb2aa8c

View File

@@ -19,7 +19,7 @@
/obj/effect/blob/New(loc)
var/area/Ablob = loc
var/area/Ablob = get_area(loc)
if (Ablob.blob_legit) //Is the area Legit for blobs?
blobs_legit += src
blobs += src //Keep track of the blob in the normal list either way
@@ -34,7 +34,7 @@
return
/obj/effect/blob/Destroy()
var/area/Ablob = loc
var/area/Ablob = get_area(loc)
if (Ablob.blob_legit) //Only remove for blobs in Legit places, else they didn't add points to begin with.
blobs_legit -= src
blobs -= src //It's still removed from the normal list