diff --git a/Subsurface/Properties/AssemblyInfo.cs b/Subsurface/Properties/AssemblyInfo.cs index 01a41e158..b91a094b2 100644 --- a/Subsurface/Properties/AssemblyInfo.cs +++ b/Subsurface/Properties/AssemblyInfo.cs @@ -31,5 +31,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.4.0.2")] -[assembly: AssemblyFileVersion("0.4.0.2")] +[assembly: AssemblyVersion("0.4.1.0")] +[assembly: AssemblyFileVersion("0.4.1.0")] diff --git a/Subsurface/Source/Screens/NetLobbyScreen.cs b/Subsurface/Source/Screens/NetLobbyScreen.cs index 62860778b..def01fde3 100644 --- a/Subsurface/Source/Screens/NetLobbyScreen.cs +++ b/Subsurface/Source/Screens/NetLobbyScreen.cs @@ -236,12 +236,12 @@ namespace Barotrauma missionTypeButtons = new GUIButton[2]; - missionTypeButtons[0] = new GUIButton(new Rectangle(120, 0, 20, 20), "<", Alignment.BottomLeft, GUI.Style, missionTypeBlock); + missionTypeButtons[0] = new GUIButton(new Rectangle(100, 0, 20, 20), "<", Alignment.BottomLeft, GUI.Style, missionTypeBlock); missionTypeButtons[0].UserData = -1; - new GUITextBlock(new Rectangle(120, 0, 120, 20), "Random", GUI.Style, Alignment.BottomLeft, Alignment.TopCenter, missionTypeBlock).UserData = 0; + new GUITextBlock(new Rectangle(120, 0, 80, 20), "Random", GUI.Style, Alignment.BottomLeft, Alignment.TopCenter, missionTypeBlock).UserData = 0; - missionTypeButtons[1] = new GUIButton(new Rectangle(240, 0, 20, 20), ">", Alignment.BottomLeft, GUI.Style, missionTypeBlock); + missionTypeButtons[1] = new GUIButton(new Rectangle(200, 0, 20, 20), ">", Alignment.BottomLeft, GUI.Style, missionTypeBlock); missionTypeButtons[1].UserData = 1; missionTypeBlock.Visible = false; @@ -521,6 +521,8 @@ namespace Barotrauma missionTypeBlock.GetChild().Text = Mission.MissionTypes[missionTypeIndex]; missionTypeBlock.UserData = missionTypeIndex; + + valueChanged = true; } public bool ToggleMissionType(GUIButton button, object userData) @@ -533,6 +535,8 @@ namespace Barotrauma SetMissionType(missionTypeIndex); + valueChanged = true; + return true; } @@ -1107,8 +1111,9 @@ namespace Barotrauma } } - catch + catch (Exception e) { + DebugConsole.ThrowError("Failed to read lobby update message"); return; } @@ -1116,7 +1121,11 @@ namespace Barotrauma if (!GameMain.NetworkMember.Voting.AllowModeVoting) { - SelectMode(modeList.children[modeIndex], modeList.children[modeIndex].UserData); + //SelectMode(modeList.children[modeIndex], modeList.children[modeIndex].UserData); + modeList.Select(modeIndex, true); + + GameModePreset modePreset = modeList.children[modeIndex].UserData as GameModePreset; + missionTypeBlock.Visible = modePreset.Name == "Mission"; } SetTraitorsEnabled(traitorsEnabled); diff --git a/Subsurface/changelog.txt b/Subsurface/changelog.txt index 8780b7a35..5782a22ed 100644 --- a/Subsurface/changelog.txt +++ b/Subsurface/changelog.txt @@ -1,3 +1,30 @@ +--------------------------------------------------------------------------------------------------------- +v0.4.1.0 +--------------------------------------------------------------------------------------------------------- + +- alien ruins and some special monsters/items that only spawn inside them +- improved lighting +- flashlights and flares +- depth charges +- items can be moved from the inventory to cabinets/containers by double clicking +- option to choose mission type in multiplayer +- fixed crashes when using medical syringes in multiplayer +- fixed characters occasionally ''exploding'' or being launched to a random direction when +entering/exiting the sub +- fixed long map seeds always generating the same map +- fixed item loading issues when playing the game on a PC using the Turkish locale (and most likely some +other locales with special uppercase/lowercase rules) + +--------------------------------------------------------------------------------------------------------- +v0.4.0.3 +--------------------------------------------------------------------------------------------------------- + +- stun syncing bugfix +- fixed dead/unconscious characters being impossible to select in the info menu +- fixed crashes when detonating nitroglyserine by injecting it +- oxygen level deteriorates more slowly when unconscious +- instructions for dealing with broken junction boxes in the tutorial + --------------------------------------------------------------------------------------------------------- v0.4.0.2 --------------------------------------------------------------------------------------------------------- diff --git a/Subsurface_Solution.v12.suo b/Subsurface_Solution.v12.suo index aa9a72491..fd7b05d75 100644 Binary files a/Subsurface_Solution.v12.suo and b/Subsurface_Solution.v12.suo differ