Explorar el Código

Update Lightmap Mod Parsing

MackeyK24 hace 6 años
padre
commit
bce6331fde
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
         }