mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-26 17:41:05 +00:00
Fixed looking up the /area of the loc, not the turf.
I messed up, thanks Aranclanos!
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user