[0.11.19] [kovarex] LUA - Ghosts are not aligned to the grid

This subforum contains all the issues which we already resolved.
Post Reply
kds71
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Fri Mar 06, 2015 12:27 pm
Contact:

[0.11.19] [kovarex] LUA - Ghosts are not aligned to the grid

Post by kds71 »

When I create a ghost entity by game.createentity, it is not aligned to the grid properly (it is aligned to grid lines, instead of center of the tile):

Code: Select all

/c game.createentity{ name = "ghost", innername = "fast-transport-belt", position = game.player.position, direction = 0, force = game.player.force }
results in: http://i.imgur.com/s9t6vBW.png

The ghost should be between grid lines. It does not matter whether you create ghost in a mod or in the console.

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

Re: [0.11.19] [kovarex] LUA - Ghosts are not aligned to the grid

Post by kovarex »

Thx for the report, it is fixed for 0.11.20 now.

kds71
Long Handed Inserter
Long Handed Inserter
Posts: 91
Joined: Fri Mar 06, 2015 12:27 pm
Contact:

Re: [0.11.19] [kovarex] LUA - Ghosts are not aligned to the grid

Post by kds71 »

Awesome, thank you!

Post Reply

Return to “Resolved Problems and Bugs”