Desync with set_tiles

Place to get help with not working mods / modding interface.
Post Reply
klugemonkey
Inserter
Inserter
Posts: 23
Joined: Tue Jun 12, 2018 5:07 am
Contact:

Desync with set_tiles

Post by klugemonkey »

I'm getting a desync after logout and re-login when using set_tiles() on the nauvis surface during a function called from on_tick event that runs only once per on_load() or on_init() for map setup. Not sure why it would cause desyncing since it looks like the set_tiles is working. This is on 0.16.51. Any suggestions?

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Desync with set_tiles

Post by darkfrei »

klugemonkey wrote:I'm getting a desync after logout and re-login when using set_tiles() on the nauvis surface during a function called from on_tick event that runs only once per on_load() or on_init() for map setup. Not sure why it would cause desyncing since it looks like the set_tiles is working. This is on 0.16.51. Any suggestions?
Just remove on_load.
You are need probably on_configuration_changed

klugemonkey
Inserter
Inserter
Posts: 23
Joined: Tue Jun 12, 2018 5:07 am
Contact:

Re: Desync with set_tiles

Post by klugemonkey »

I have since resolved this issue. :D

Post Reply

Return to “Modding help”