Fix more errors, client and server now build
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Content.Server.Verbs.Commands
|
||||
EntityUid playerEntity = default;
|
||||
if (!int.TryParse(args[0], out var intPlayerUid))
|
||||
{
|
||||
if (args[0] == "self" && shell.Player?.AttachedEntity != default)
|
||||
if (args[0] == "self" && shell.Player?.AttachedEntity != null)
|
||||
{
|
||||
playerEntity = shell.Player.AttachedEntity;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user