Species Restricted Spam Fix (#11446)

This commit is contained in:
Geeves
2021-03-15 17:51:23 +02:00
committed by GitHub
parent 366ee35791
commit 8dd28a5178
2 changed files with 8 additions and 1 deletions

View File

@@ -81,7 +81,8 @@
wearable = 1
if(!wearable && !(slot in list(slot_l_store, slot_r_store, slot_s_store)))
to_chat(H, SPAN_DANGER("Your species cannot wear [src]."))
if(!disable_warning)
to_chat(H, SPAN_DANGER("Your species cannot wear [src]."))
return 0
return 1