More SRM fixes (#30522)

This commit is contained in:
PollardTheDragon
2025-09-22 15:14:15 +00:00
committed by GitHub
parent 02676090bc
commit e1d8325fbb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1035,7 +1035,7 @@ to destroy them and players will be able to make replacements.
/obj/item/circuitboard/salvage_redemption
board_name = "Salvage Redemption"
icon_state = "supply"
build_path = /obj/item/circuitboard/salvage_redemption
build_path = /obj/machinery/salvage_redemption
board_type = "machine"
origin_tech = "programming=1;engineering=2"
req_components = list(
+1 -1
View File
@@ -86,7 +86,7 @@
if(istype(used, /obj/item/storage/bag/expedition))
var/obj/item/storage/bag/expedition/bag = used
if(!bag.contents)
if(!length(bag.contents))
to_chat(user, "<span class='warning'>You have no salvage to redeem.</span>");
return ITEM_INTERACT_COMPLETE
for(var/obj/item/salvage/loot in bag.contents)