Quick fix

This commit is contained in:
LatD
2016-05-30 21:46:42 +03:00
parent d89eb178c6
commit c2f604a74a
+1
View File
@@ -76,6 +76,7 @@
if(maxcharge < amount)
amount = maxcharge
var/power_used = min(maxcharge-charge,amount)
charge += power_used
return power_used
/obj/item/weapon/stock_parts/cell/examine(mob/user)