Fuck.
This commit is contained in:
@@ -56,7 +56,8 @@ namespace Content.Server.GameTicking
|
|||||||
get => _runLevel;
|
get => _runLevel;
|
||||||
private set
|
private set
|
||||||
{
|
{
|
||||||
if (_runLevel == value) return;
|
// Game admins can run `restartroundnow` while still in-lobby, which'd break things with this check.
|
||||||
|
// if (_runLevel == value) return;
|
||||||
|
|
||||||
var old = _runLevel;
|
var old = _runLevel;
|
||||||
_runLevel = value;
|
_runLevel = value;
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
using Content.Shared.Station;
|
using Content.Shared.Station;
|
||||||
using Robust.Shared.Analyzers;
|
using Robust.Shared.Analyzers;
|
||||||
using Robust.Shared.GameObjects;
|
using Robust.Shared.GameObjects;
|
||||||
|
using Robust.Shared.ViewVariables;
|
||||||
|
|
||||||
namespace Content.Server.Station;
|
namespace Content.Server.Station;
|
||||||
|
|
||||||
[RegisterComponent, Friend(typeof(StationSystem))]
|
[RegisterComponent, Friend(typeof(StationSystem))]
|
||||||
public class StationComponent : Component
|
public class StationComponent : Component
|
||||||
{
|
{
|
||||||
|
[ViewVariables]
|
||||||
public StationId Station = StationId.Invalid;
|
public StationId Station = StationId.Invalid;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user