mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
sadfsd (#18489)
This commit is contained in:
@@ -13,3 +13,14 @@
|
||||
respawn_flag = null
|
||||
|
||||
spawn_mob = /mob/living/simple_animal/hostile/giant_spider/nurse/spider_queen
|
||||
|
||||
/datum/ghostspawner/simplemob/spider_queen/spawn_mob(mob/user)
|
||||
. = ..()
|
||||
|
||||
//Basically, we don't want the mob AI to keep running if a player is assigned to it
|
||||
//ideally there should also be an handling to resume thinking if the player ghosts
|
||||
//but that would probably need a signal that we don't currently have, hence
|
||||
//something for another time
|
||||
var/mob/our_new_mob = . //This cast is needed, sorry
|
||||
if(istype(our_new_mob) && !QDELETED(our_new_mob))
|
||||
MOB_STOP_THINKING(our_new_mob)
|
||||
|
||||
Reference in New Issue
Block a user