diff --git a/code/game/objects/effects/alien_acid.dm b/code/game/objects/effects/alien_acid.dm index 9dbb389e4e..3b5a029df4 100644 --- a/code/game/objects/effects/alien_acid.dm +++ b/code/game/objects/effects/alien_acid.dm @@ -17,9 +17,8 @@ target = get_turf(src) if(acid_amt) - acid_level = min(acid_amt*acid_pwr, 12000) //capped so the acid effect doesn't last a half hour on the floor. - if(acid_level < 0)//Fix for a weird runtime. - acid_level = 0 + acid_level = min( (CLAMP(round(acid_amt, 1), 0, INFINITY)) *acid_pwr, 12000) //capped so the acid effect doesn't last a half hour on the floor. + //handle APCs and newscasters and stuff nicely pixel_x = target.pixel_x + rand(-4,4) pixel_y = target.pixel_y + rand(-4,4)