lightSources use real scene key

This commit is contained in:
2023-03-30 08:24:50 -06:00
parent 98b98187ab
commit 96644281b8

View File

@@ -123,7 +123,7 @@
(cc)))
(method _showScene [:Scene<Set,Actor,Prop,Camera> scene :Appearance appearance :Camera camera :Continuation cc]
(director.showLighting scene.time .elements (lightSources.get sceneKey) camera)
(director.showLighting scene.time .elements (lightSources.get (FuzzyMapTools.bestMatch scenes sceneKey)) camera)
// Show current scene background
(director.showSet scene.set scene.time scene.perspective appearance camera
(makeCC