Merge pull request #4746 from Cyantime/defibruntime

Fix paddle runtime
This commit is contained in:
Anewbe
2018-02-07 23:34:44 -06:00
committed by GitHub
+1 -1
View File
@@ -44,7 +44,7 @@
if(paddles && paddles.loc == src) //in case paddles got destroyed somehow.
new_overlays += "[initial(icon_state)]-paddles"
if(bcell)
if(bcell && paddles)
if(bcell.check_charge(paddles.chargecost))
if(paddles.combat)
new_overlays += "[initial(icon_state)]-combat"