Expose WAngle to Lua API and deprecate old Facing.

This commit is contained in:
Paul Chote
2020-06-10 20:53:44 +01:00
committed by reaperrr
parent 0349435650
commit a98e460257
6 changed files with 121 additions and 12 deletions

View File

@@ -150,7 +150,7 @@ namespace OpenRA
case "X": return X;
case "Y": return Y;
case "Z": return Z;
case "Facing": return Yaw.Facing;
case "Facing": return new LuaCustomClrObject(Yaw);
default: throw new LuaException("WVec does not define a member '{0}'".F(key));
}
}