Refactors a lot of reused/redundant death code, fixes #7224

This commit is contained in:
Zuhayr
2014-12-07 17:18:56 +10:30
parent 2b525372f1
commit 958eb62ed5
28 changed files with 176 additions and 457 deletions

View File

@@ -52,14 +52,8 @@
death(gibbed)
if(key)
var/mob/dead/observer/ghost = new(src)
ghost.name = ghost_name
ghost.real_name = ghost_name
ghost.key = key
if (ghost.client)
ghost.client.eye = ghost
return ..(gibbed)
ghostize()
..(gibbed)
blob_act()