Skip to content

Commit

Permalink
Abstract landmarks are now indestructible (tgstation#34808)
Browse files Browse the repository at this point in the history
In situations where a maxcap has been dropped above the Bridge, which is
generally the Observer-Start landmark's location, it would destroy the
landmark, making observers get a debugging message asking them to ahelp
when they observed.

There should be a better way of making an object indestructible from any
ingame effect without having to make it QDEL_HINT_LETMELIVE...
  • Loading branch information
coiax authored and ShizCalev committed Jan 24, 2018
1 parent 39b0175 commit 3d8ccce
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions code/game/objects/effects/landmarks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@
icon_state = "x2"
anchored = TRUE
invisibility = INVISIBILITY_ABSTRACT
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF

/obj/effect/landmark/singularity_act()
return

// Please stop bombing the Observer-Start landmark.
/obj/effect/landmark/ex_act()
return

/obj/effect/landmark/singularity_pull()
return


/obj/effect/landmark/New()
..()
Expand Down

0 comments on commit 3d8ccce

Please sign in to comment.