automatically adding .gz to when saving a map, netlobbyscreen ui changes
This commit is contained in:
@@ -29,6 +29,9 @@ namespace Subsurface.Networking
|
||||
|
||||
config = new NetPeerConfiguration("subsurface");
|
||||
|
||||
//config.SimulatedLoss = 0.2f;
|
||||
//config.SimulatedMinimumLatency = 0.25f;
|
||||
|
||||
config.Port = port;
|
||||
|
||||
config.EnableUPnP = true;
|
||||
@@ -531,6 +534,8 @@ namespace Subsurface.Networking
|
||||
|
||||
public void NewTraitor(Client traitor, Client target)
|
||||
{
|
||||
new GUIMessageBox("New traitor", traitor.name + " is the traitor and the target is " + target+".");
|
||||
|
||||
NetOutgoingMessage msg = server.CreateMessage();
|
||||
msg.Write((byte)PacketTypes.Traitor);
|
||||
msg.Write(target.name);
|
||||
|
||||
@@ -97,6 +97,7 @@ namespace Subsurface.Networking
|
||||
crewFrame.Padding = new Vector4(10.0f, 10.0f, 10.0f, 10.0f);
|
||||
|
||||
GUIListBox crewList = new GUIListBox(new Rectangle(0, 0, 200, 300), Color.White * 0.7f, GUI.style, crewFrame);
|
||||
crewList.Padding = new Vector4(10.0f, 10.0f, 10.0f, 10.0f);
|
||||
crewList.OnSelected = SelectCharacter;
|
||||
|
||||
foreach (Character character in crew)
|
||||
|
||||
Reference in New Issue
Block a user