[.15.2] setting game_view_settings causes sound restart

Bugs that are actually features.
Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

[.15.2] setting game_view_settings causes sound restart

Post 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.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15950
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [.15.2] setting game_view_settings causes sound restart

Post 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.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”