Cleanup code a little.
This commit is contained in:
@@ -214,13 +214,10 @@ namespace Content.Server.GameObjects.Components.Doors
|
||||
}
|
||||
|
||||
if (State == DoorState.Closed)
|
||||
{
|
||||
Open();
|
||||
}
|
||||
else if(State == DoorState.Open)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user