mirror of
https://github.com/Oarcinae/FactorioScenarioMultiplayerSpawn.git
synced 2024-12-12 10:13:58 +02:00
Merge pull request #241 from Oarcinae/240-crash-on-gui-selection-when-disabling-main-team-radio
Fix #240 crash on gui radio select when main team is disabled.
This commit is contained in:
commit
cd300b0dcf
@ -1,4 +1,9 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.1.7
|
||||
Date: 2024-11-05
|
||||
Bugfixes:
|
||||
- Fix crash when player clicks on team radio select if main team is disabled.
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 2.1.6
|
||||
Date: 2024-11-04
|
||||
Bugfixes:
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "oarc-mod",
|
||||
"version": "2.1.6",
|
||||
"version": "2.1.7",
|
||||
"factorio_version": "2.0",
|
||||
"title": "Oarc Multiplayer Spawn",
|
||||
"author": "Oarcinae",
|
||||
|
@ -648,7 +648,9 @@ function SpawnOptsRadioSelect(event)
|
||||
event.element.parent.isolated_spawn_new_team_radio.state = false
|
||||
end
|
||||
elseif (elemName == "isolated_spawn_new_team_radio") then
|
||||
event.element.parent.isolated_spawn_main_team_radio.state = false
|
||||
if (event.element.parent.isolated_spawn_main_team_radio ~= nil) then
|
||||
event.element.parent.isolated_spawn_main_team_radio.state = false
|
||||
end
|
||||
end
|
||||
|
||||
elseif (tags.setting == "buddy_team_select") then
|
||||
|
Loading…
Reference in New Issue
Block a user