mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2026-08-24 21:26:38 +01:00
belt now checks ERP prefs
This commit is contained in:
+4
@@ -18,6 +18,10 @@
|
||||
if(!CHECK_BITFIELD(slot, ITEM_SLOT_UNDERWEAR) || !ishuman(user) || !ishuman(usr))
|
||||
return
|
||||
|
||||
if(!(user.client?.prefs?.erppref == "Yes"))
|
||||
to_chat(user, span_warning("They don't want you to do that!"))
|
||||
return
|
||||
|
||||
var/mob/holder = usr
|
||||
owner = user
|
||||
|
||||
|
||||
Reference in New Issue
Block a user