Page 1 of 1

[0.12.6] [kovarex] create_entity accepts negative amount

Posted: Sun Sep 06, 2015 6:09 pm
by prg

Code: Select all

game.player.surface.create_entity{name="coal", position=game.player.position, amount=-1}
Mining this works fine, the amount just gets more negative. If you put a mining drill on it, the reported expected resources will be 4.3G.

Re: [0.12.6] [kovarex] create_entity accepts negative amount

Posted: Mon Sep 07, 2015 12:05 pm
by kovarex
Thanks for the report, it is fixed for 0.12.7 (and auto tested from now on).