mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
Cleanups and tweaks observer code (#30250)
* observer cleanup * this * bit more * Update tgui.bundle.js
This commit is contained in:
@@ -44,13 +44,13 @@
|
||||
if(response != "Ghost")
|
||||
return
|
||||
lay_down()
|
||||
var/mob/dead/observer/ghost = ghostize(TRUE)
|
||||
var/mob/dead/observer/ghost = ghostize()
|
||||
ghost.timeofdeath = world.time
|
||||
death(0) // Turn back into a regular object.
|
||||
|
||||
/mob/living/basic/possessed_object/death(gibbed)
|
||||
if(can_die())
|
||||
ghostize(TRUE)
|
||||
ghostize()
|
||||
// if gibbed, the item goes with the ghost
|
||||
if(!gibbed && possessed_item.loc == src)
|
||||
// Put the normal item back once the EVIL SPIRIT has been vanquished from it. If it's not already in place
|
||||
|
||||
Reference in New Issue
Block a user