Added a catch to prevent acid from being rascals.

This commit is contained in:
Fermi
2019-05-31 03:12:00 +01:00
parent f8005dd625
commit 1461f46292
+2 -1
View File
@@ -18,7 +18,8 @@
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
//handle APCs and newscasters and stuff nicely
pixel_x = target.pixel_x + rand(-4,4)
pixel_y = target.pixel_y + rand(-4,4)