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

This subforum contains all the issues which we already resolved.
Post Reply
grilledham
Inserter
Inserter
Posts: 23
Joined: Tue Sep 25, 2018 9:32 pm
Contact:

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

Post 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.
Attachments
desync-report-2019-05-16_14-43-18.zip
(4.86 MiB) Downloaded 62 times

Bilka
Factorio Staff
Factorio Staff
Posts: 2873
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.17.39] Setting style.disabled_font_color causes desync

Post by Bilka »

Thanks for the report, fixed for the next version.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.

Post Reply

Return to “Resolved Problems and Bugs”