7ab01b8237
Turns out the game actually sets Screen.Selected to null when the game starts, so the server would break on EditMapScreen checks.
22 lines
522 B
C#
22 lines
522 B
C#
using System;
|
|
using Microsoft.Xna.Framework;
|
|
using Microsoft.Xna.Framework.Graphics;
|
|
using Barotrauma.Networking;
|
|
using System.Linq;
|
|
using System.Collections.Generic;
|
|
using System.Reflection;
|
|
using System.ComponentModel;
|
|
|
|
namespace Barotrauma
|
|
{
|
|
class UnimplementedScreen : Screen
|
|
{
|
|
public static readonly UnimplementedScreen Instance = new UnimplementedScreen();
|
|
|
|
public override void Select()
|
|
{
|
|
throw new Exception("Tried to select unimplemented screen");
|
|
}
|
|
}
|
|
}
|