mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-09 16:21:09 +01:00
667a773553
Don't try to Destroy() objects that get del(). It was causing infinite loops and other problems. It's now ok to have something call del(src) as part of Destroy().
19 lines
362 B
Plaintext
19 lines
362 B
Plaintext
// Camera mob, used by AI camera and blob.
|
|
|
|
/mob/camera
|
|
name = "camera mob"
|
|
density = 0
|
|
anchored = 1
|
|
status_flags = GODMODE // You can't damage it.
|
|
mouse_opacity = 0
|
|
see_in_dark = 7
|
|
invisibility = 101 // No one can see us
|
|
|
|
move_on_shuttle = 0
|
|
|
|
/mob/camera/experience_pressure_difference()
|
|
return
|
|
|
|
/mob/camera/Destroy()
|
|
..()
|
|
del(src) |