Make Y+ up. (#109)

This commit is contained in:
Pieter-Jan Briers
2018-09-17 10:46:38 +02:00
committed by GitHub
parent 7a91fb7512
commit 2dd3f24fb2
7 changed files with 496 additions and 501 deletions

View File

@@ -27,16 +27,7 @@ namespace Content.Client.Construction
{
if (Prototype != null)
{
// Stupid god damn Y AXIS.
var dir = Manager.Direction;
if (dir == Direction.South)
{
dir = Direction.North;
}
else if (dir == Direction.North)
{
dir = Direction.South;
}
Owner.SpawnGhost(Prototype, coords, dir);
}
return true;