mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-20 19:44:46 +01:00
fix equipment vendors (#19236)
This commit is contained in:
@@ -26,7 +26,8 @@
|
||||
inserted_id = null
|
||||
else
|
||||
QDEL_NULL(inserted_id)
|
||||
QDEL_NULL_LIST(prize_list)
|
||||
for(var/key, value in prize_list)
|
||||
QDEL_NULL_LIST(value)
|
||||
. = ..()
|
||||
|
||||
/datum/data/mining_equipment
|
||||
@@ -275,7 +276,8 @@
|
||||
|
||||
remove_points(inserted_id, prize.cost)
|
||||
var/obj/item/I = new prize.equipment_path(loc)
|
||||
I.persist_storable = FALSE
|
||||
if(isitem(I))
|
||||
I.persist_storable = FALSE
|
||||
flick(icon_vend, src)
|
||||
else
|
||||
flick(icon_deny, src)
|
||||
|
||||
Reference in New Issue
Block a user