Add in "linear" lWorld to separate time reversable worlds

This commit is contained in:
2022-10-28 12:24:51 +01:00
parent 5f6bd43599
commit 7e790b7153
130 changed files with 827 additions and 980 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ import Control.Lens
import Dodge.Data.World
lockInv :: Int -> World -> World
lockInv cid = cWorld . creatures . ix cid . crInvLock ||~ True
lockInv cid = cWorld . lWorld . creatures . ix cid . crInvLock ||~ True
unlockInv :: Int -> World -> World
unlockInv cid = cWorld . creatures . ix cid . crInvLock &&~ False
unlockInv cid = cWorld . lWorld . creatures . ix cid . crInvLock &&~ False