Parcourir la source

Update Lightmap Mod Parsing

MackeyK24 il y a 6 ans
Parent
commit
bce6331fde
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/Lights/light.ts

+ 1 - 1
src/Lights/light.ts

@@ -608,7 +608,7 @@ export abstract class Light extends Node {
         }
 
         // Lightmaps
-        if (parsedLight.lightmapMode) {
+        if (parsedLight.lightmapMode !== undefined) {
             light.lightmapMode = parsedLight.lightmapMode;
         }