Disable mecha short circuit sparks - lag inducing

This commit is contained in:
Markolie
2015-02-19 01:39:03 +01:00
parent dad0b2d856
commit e4ff0bb168
+2 -2
View File
@@ -182,9 +182,9 @@
mecha.loc.assume_air(leaked_gas)
else
del(leaked_gas)
if(mecha.hasInternalDamage(MECHA_INT_SHORT_CIRCUIT))
/*if(mecha.hasInternalDamage(MECHA_INT_SHORT_CIRCUIT)) // LAG INDUCING - it'll keep on creating sparks
if(mecha.get_charge())
mecha.spark_system.start()
mecha.cell.charge -= min(20,mecha.cell.charge)
mecha.cell.maxcharge -= min(20,mecha.cell.maxcharge)
mecha.cell.maxcharge -= min(20,mecha.cell.maxcharge) */
return