[0.12.6] [kovarex] create_entity accepts negative amount

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

[0.12.6] [kovarex] create_entity accepts negative amount

Post 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.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

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

Post by kovarex »

Thanks for the report, it is fixed for 0.12.7 (and auto tested from now on).

Post Reply

Return to “Resolved Problems and Bugs”