mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 10:21:11 +00:00
Fixes issue 818.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@4698 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -115,7 +115,7 @@
|
||||
overlays = null
|
||||
|
||||
if(reagents.total_volume)
|
||||
var/image/filling = image('icons/obj/reagentfillings.dmi', src, "[icon_state]10", src.layer)
|
||||
var/image/filling = image('icons/obj/reagentfillings.dmi', src, "[icon_state]10")
|
||||
|
||||
var/percent = round((reagents.total_volume / volume) * 100)
|
||||
switch(percent)
|
||||
|
||||
@@ -181,7 +181,7 @@
|
||||
item_state = "syringe_[rounded_vol]"
|
||||
|
||||
if(reagents.total_volume)
|
||||
var/image/filling = image('icons/obj/reagentfillings.dmi', src, "syringe10", src.layer)
|
||||
var/image/filling = image('icons/obj/reagentfillings.dmi', src, "syringe10")
|
||||
|
||||
switch(rounded_vol)
|
||||
if(5) filling.icon_state = "syringe5"
|
||||
|
||||
Reference in New Issue
Block a user