mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
Update swarmer_objs.dm (#61877)
If you are banned from an antag, but no ghosts take your body, you get to stay in your body. This means that someone banned from Swarmer can keep trying to join as a Swarmer and hope no one will take over their body, to bypass their ban. To prevent this, banned people won't be able to form a swarmer body in the first place.
This commit is contained in:
@@ -63,7 +63,10 @@
|
||||
/obj/structure/swarmer_beacon/attack_ghost(mob/user)
|
||||
. = ..()
|
||||
if(processing_swarmer)
|
||||
to_chat(user, "<b>A swarmer is currently being created. Try again soon.</b>")
|
||||
to_chat(user, "<b>A swarmer is currently being created. Try again soon.</b>")
|
||||
return
|
||||
if(is_banned_from(user.ckey, ROLE_SWARMER))
|
||||
to_chat(user, span_danger("You are banned from playing as a Swarmer."))
|
||||
return
|
||||
que_swarmer(user)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user