diff --git a/Assets/Cryville/Crtr/PdtEvaluator.cs b/Assets/Cryville/Crtr/PdtEvaluator.cs index 0c12e1b..dc5629f 100644 --- a/Assets/Cryville/Crtr/PdtEvaluator.cs +++ b/Assets/Cryville/Crtr/PdtEvaluator.cs @@ -563,7 +563,7 @@ namespace Cryville.Crtr { if (src == null) throw new ArgumentNullException("src"); int type; byte[] value; src.Get(out type, out value); - if (type != PdtInternalType.Number) + if (type != PdtInternalType.Number && type != PdtInternalType.Vector) throw new ArgumentException("Not a number"); fixed (byte* ptr = value) { return *(float*)ptr;