mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
Fixed being unable to aghost while corpselocked (#87594)
## About The Pull Request Fixed being unable to aghost while corpselocked, via adding another parameter to ghostize that checks if it's an aghost or not ## Why It's Good For The Game i wana leave my body when testing as ethereal ## Changelog 🆑 fix: Fixed being unable to aghost while corpselocked /🆑
This commit is contained in:
@@ -34,7 +34,7 @@ ADMIN_VERB(admin_ghost, R_ADMIN, "AGhost", "Become a ghost without DNR.", ADMIN_
|
||||
log_admin("[key_name(user)] admin ghosted.")
|
||||
message_admins("[key_name_admin(user)] admin ghosted.")
|
||||
var/mob/body = user.mob
|
||||
body.ghostize(TRUE)
|
||||
body.ghostize(TRUE, TRUE)
|
||||
user.init_verbs()
|
||||
if(body && !body.key)
|
||||
body.key = "@[user.key]" //Haaaaaaaack. But the people have spoken. If it breaks; blame adminbus
|
||||
|
||||
Reference in New Issue
Block a user