From b5809ba1aefe5ae499b84f6d6f593fb7e2a3b93e Mon Sep 17 00:00:00 2001 From: William Fowler Date: Sat, 2 Oct 2021 01:41:49 -0600 Subject: [PATCH] Add UNITY define to Lightmaps, accidentally left out. --- LibBSP/Source/Structs/BSP/Lumps/Lightmaps.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/LibBSP/Source/Structs/BSP/Lumps/Lightmaps.cs b/LibBSP/Source/Structs/BSP/Lumps/Lightmaps.cs index 8137a62..acec04b 100644 --- a/LibBSP/Source/Structs/BSP/Lumps/Lightmaps.cs +++ b/LibBSP/Source/Structs/BSP/Lumps/Lightmaps.cs @@ -1,4 +1,8 @@ -using System; +#if UNITY_3_4 || UNITY_3_5 || UNITY_4_0 || UNITY_4_0_1 || UNITY_4_2 || UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_5 || UNITY_5_3_OR_NEWER +#define UNITY +#endif + +using System; namespace LibBSP { #if UNITY