The construction system can now prevent recipes from being rotated.

This commit is contained in:
Víctor Aguilera Puerto
2020-10-12 14:22:31 +02:00
parent 0f709225c3
commit c023f26a1c
4 changed files with 18 additions and 2 deletions

View File

@@ -448,7 +448,7 @@ namespace Content.Server.GameObjects.EntitySystems
}
structure.Transform.Coordinates = ev.Location;
structure.Transform.LocalRotation = ev.Angle;
structure.Transform.LocalRotation = constructionPrototype.CanRotate ? ev.Angle : Angle.South;
RaiseNetworkEvent(new AckStructureConstructionMessage(ev.Ack));