mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[MIRROR] Fix verbs tab not getting updated in certain instances (#937)
* Fix verbs tab not getting updated in certain instances (#53876) There are a number of methods of assuming direct control of mobs or giving other players direct control. I have made sure these now appropriately update verbs. Shamelessly ripped the functionality from /mob/dead/observer/verb/reenter_corpse() - It seemed to do what I wanted to accomplish in the same context. I couldn't find any other method to refresh the verbs tab. * Fix verbs tab not getting updated in certain instances Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
This commit is contained in:
@@ -434,6 +434,7 @@
|
||||
message_admins("[key_name_admin(C)] has taken control of ([ADMIN_LOOKUPFLW(M)])")
|
||||
M.ghostize(0)
|
||||
M.key = C.key
|
||||
M.client?.init_verbs()
|
||||
return TRUE
|
||||
else
|
||||
to_chat(M, "There were no ghosts willing to take control.")
|
||||
@@ -448,7 +449,6 @@
|
||||
/mob/proc/is_floating()
|
||||
return (movement_type & FLOATING)
|
||||
|
||||
|
||||
///Clicks a random nearby mob with the source from this mob
|
||||
/mob/proc/click_random_mob()
|
||||
var/list/nearby_mobs = list()
|
||||
|
||||
Reference in New Issue
Block a user