mob spawn species lock to balloon alert (#12955)

This commit is contained in:
Tom
2022-04-21 14:40:33 +01:00
committed by GitHub
parent 1ee0d103a3
commit 478934e458
+1 -1
View File
@@ -160,7 +160,7 @@
return
// SKYRAT EDIT ADDITION
if(restricted_species && !(user.client?.prefs?.read_preference(/datum/preference/choiced/species) in restricted_species))
to_chat(user, span_warning("You cannot use this role because you are not the correct species!"))
balloon_alert(user, "incorrect species!")
return
// SKYRAT EDIT END
if(prompt_ghost)