mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-28 23:51:17 +01:00
Ghosts can jump to a ghost spawner's spawn point (#16102)
* ghost spawner jump to * c * Update vueui/src/components/view/misc/ghostspawner.vue Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com> --------- Co-authored-by: DreamySkrell <> Co-authored-by: SleepyGemmy <99297919+SleepyGemmy@users.noreply.github.com>
This commit is contained in:
co-authored by
SleepyGemmy
DreamySkrell <>
parent
06fb7ecb9e
commit
2df585e462
@@ -182,6 +182,10 @@
|
||||
return TRUE
|
||||
return FALSE
|
||||
|
||||
//Proc to check if a specific user can jump to this spawner (ghosts should be able to)
|
||||
/datum/ghostspawner/proc/can_jump_to(mob/user)
|
||||
return isobserver(user) && loc_type == GS_LOC_POS
|
||||
|
||||
/datum/ghostspawner/proc/is_enabled()
|
||||
if(loc_type == GS_LOC_ATOM)
|
||||
return enabled && !!length(spawn_atoms)
|
||||
|
||||
Reference in New Issue
Block a user