Page 1 of 1

[.15.2] setting game_view_settings causes sound restart

Posted: Thu Apr 27, 2017 12:35 am
by Nexela

Code: Select all

/c script.on_event(defines.events.on_selected_entity_changed, function(event) player = game.players[1] player.game_view_settings.show_minimap = not player.game_view_settings.show_minimap end)
Create an assembling machine making something (rocket-silo is a good choice), Fill it up with the items to make it. With the assembling machine opened and running move your mouse on and off any entity and notice the playing sound starts over.

Re: [.15.2] setting game_view_settings causes sound restart

Posted: Thu Apr 27, 2017 5:00 pm
by Rseding91
Setting game view settings reloads the game view because that's how the logic works in our GUI system.

That's by design.