mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 08:39:12 +01:00
[MIRROR] Tanker Value Runtime fix (#12645)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
co-authored by
Will
parent
a832d812b1
commit
06571da9eb
@@ -142,6 +142,8 @@
|
||||
|
||||
/datum/element/sellable/trolley_tank/calculate_sell_value(obj/source)
|
||||
var/obj/vehicle/train/trolley_tank/tank = source
|
||||
if(!length(tank.reagents.reagent_list))
|
||||
return 0
|
||||
|
||||
// Update export values
|
||||
var/datum/reagent/R = tank.reagents.reagent_list[1]
|
||||
|
||||
Reference in New Issue
Block a user