Cleanup
This commit is contained in:
@@ -24,10 +24,8 @@ useRewindGun _ _ w = case _rewindWorlds (_cWorld w) of
|
||||
rewindusing :: CWorld -> [CWorld] -> World
|
||||
rewindusing w' ws = w
|
||||
& cWorld . maybeWorld .~ Just' ( w'
|
||||
& upbuts
|
||||
& rewindWorlds .~ ws
|
||||
)
|
||||
upbuts = (keys .~ _keys (_cWorld w)) . (mouseButtons .~ _mouseButtons (_cWorld w))
|
||||
|
||||
-- be careful changing this around; potential problems include updating the
|
||||
-- creature but using the old crInvSel value
|
||||
|
||||
Reference in New Issue
Block a user