makes mob spawners respect antag jobbans (#20430)

This commit is contained in:
Coolrune206
2023-03-04 16:38:26 +00:00
committed by GitHub
parent a5d949a0e7
commit c5cccdefe4
+1 -1
View File
@@ -41,7 +41,7 @@
if(!uses)
to_chat(user, "<span class='warning'>This spawner is out of charges!</span>")
return
if(jobban_isbanned(user, banType))
if(jobban_isbanned(user, banType) || jobban_isbanned(user, ROLE_SYNDICATE))
to_chat(user, "<span class='warning'>You are jobanned!</span>")
return
if(cannotPossess(user))