mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 11:38:12 +01:00
Fixes Emaggery
You can re-emag the vendor if either the access || contraband restrictions were fixed.
This commit is contained in:
@@ -234,7 +234,7 @@
|
||||
return
|
||||
|
||||
/obj/machinery/vending/nifsoft_shop/emag_act(remaining_charges, mob/user) //Yeees, YEEES! Give me that black market tech.
|
||||
if(!emagged)
|
||||
if(!emagged || !(categories & CAT_HIDDEN))
|
||||
emagged = 1
|
||||
categories |= CAT_HIDDEN
|
||||
to_chat(user, "You short out [src]'s access lock & stock restrictions.")
|
||||
|
||||
Reference in New Issue
Block a user