mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 04:28:12 +01:00
edits some no_vore usage (#16131)
* edits some no_vore usage * . * . * no hook call if qdeleting either
This commit is contained in:
@@ -45,7 +45,7 @@
|
||||
/hook/living_new/proc/vore_setup(mob/living/M)
|
||||
//Tries to load prefs if a client is present otherwise gives freebie stomach
|
||||
spawn(2 SECONDS)
|
||||
if(M)
|
||||
if(!QDELETED(M))
|
||||
M.init_vore()
|
||||
|
||||
//return TRUE to hook-caller
|
||||
@@ -80,6 +80,11 @@
|
||||
allow_spontaneous_tf = TRUE
|
||||
return TRUE
|
||||
|
||||
/mob/living/init_vore()
|
||||
if(no_vore)
|
||||
return FALSE
|
||||
return ..()
|
||||
|
||||
//
|
||||
// Hide vore organs in contents
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user