Page 1 of 1

[Bilka] [0.17.39] Setting style.disabled_font_color causes desync

Posted: Thu May 16, 2019 1:47 pm
by grilledham
Steps to reproduce:
1. Create scenario with following code in control.lua

Code: Select all

script.on_event(
    defines.events.on_player_created,
    function(event)
        local player = game.get_player(event.player_index)
        local button = player.gui.center.add {type = 'button'}
        button.style.disabled_font_color = {0, 0, 0}
    end
)
2. Start scenario and run /toggle-heavy-mode
3. Watch the errors.

If I load the scenario on a server and run /c game.force_crc() I get the attached desync report.

Re: [0.17.39] Setting style.disabled_font_color causes desync

Posted: Thu May 16, 2019 2:16 pm
by Bilka
Thanks for the report, fixed for the next version.