mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-07-20 20:54:35 +01:00
[MIRROR] fix equipment vendors (#12473)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
52510afb88
commit
7e29edf6e3
@@ -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