Merge pull request #4476 from Citadel-Station-13/upstream-merge-33697
[MIRROR] Fix smoke machine runtime
This commit is contained in:
@@ -46,6 +46,8 @@
|
||||
var/new_volume = REAGENTS_BASE_VOLUME
|
||||
for(var/obj/item/stock_parts/matter_bin/B in component_parts)
|
||||
new_volume += REAGENTS_BASE_VOLUME * B.rating
|
||||
if(!reagents)
|
||||
create_reagents(new_volume)
|
||||
reagents.maximum_volume = new_volume
|
||||
if(new_volume < reagents.total_volume)
|
||||
reagents.reaction(loc, TOUCH) // if someone manages to downgrade it without deconstructing
|
||||
|
||||
Reference in New Issue
Block a user