Allow for lights to be stored in a one-frame list
This commit is contained in:
@@ -164,6 +164,7 @@ updateUniverseMid u = case _uvScreenLayers u of
|
||||
(cWorld . lWorld . radarBlips .~ [])
|
||||
-- . updateIMl _props _pjUpdate
|
||||
. updateLightSources
|
||||
. (cWorld . lWorld . lights .~ [])
|
||||
. updateClouds
|
||||
)
|
||||
(sl : _) -> u & updateUseInputOnScreen sl
|
||||
@@ -297,6 +298,7 @@ functionalUpdate u =
|
||||
. over uvWorld zoneCreatures
|
||||
-- . over uvWorld updateInventorySelectionList
|
||||
. set (uvWorld . cWorld . lWorld . flares) []
|
||||
. set (uvWorld . cWorld . lWorld . lights) []
|
||||
$ over uvWorld updatePastWorlds u
|
||||
|
||||
checkTermDist :: World -> World
|
||||
|
||||
Reference in New Issue
Block a user