diff --git a/code/game/objects/items/devices/transfer_valve.dm b/code/game/objects/items/devices/transfer_valve.dm index 4e899aa324..943ff030b3 100644 --- a/code/game/objects/items/devices/transfer_valve.dm +++ b/code/game/objects/items/devices/transfer_valve.dm @@ -6,6 +6,7 @@ lefthand_file = 'icons/mob/inhands/weapons/bombs_lefthand.dmi' righthand_file = 'icons/mob/inhands/weapons/bombs_righthand.dmi' desc = "Regulates the transfer of air between two tanks." + w_class = WEIGHT_CLASS_BULKY var/obj/item/tank/tank_one var/obj/item/tank/tank_two var/obj/item/device/assembly/attached_device @@ -27,15 +28,11 @@ return tank_one = item to_chat(user, "You attach the tank to the transfer valve.") - if(item.w_class > w_class) - w_class = item.w_class else if(!tank_two) if(!user.transferItemToLoc(item, src)) return tank_two = item to_chat(user, "You attach the tank to the transfer valve.") - if(item.w_class > w_class) - w_class = item.w_class update_icon() //TODO: Have this take an assemblyholder