summaryrefslogtreecommitdiff
path: root/technic_chests
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2014-04-26 20:02:19 +0100
committerShadowNinja <shadowninja@minetest.net>2014-04-27 14:43:00 -0400
commite748af927a0ec2b593fa3775b17bd40864ba6f60 (patch)
tree2877b0b81cb7d4110079f323ad1343801a009357 /technic_chests
parent04c6f5bea38d7c3ac2d09760534e6405102a61c2 (diff)
Fix drill charge usage
The drills weren't taking the variable usage cost into account (either the per-type base cost or the per-mode multiplier) when deciding whether they have sufficient charge to use. This could cause them to overshoot in charge usage, although they would then clamp to zero rather than record negative charge. Also, for the Mk1 drill where the cost was assessed correctly, the drill would refuse to discharge to exactly zero charge.
Diffstat (limited to 'technic_chests')
0 files changed, 0 insertions, 0 deletions