Allow for door destruction
This commit is contained in:
@@ -62,7 +62,7 @@ applyTerminalCommandArguments :: String -> [String] -> Universe -> Universe
|
||||
applyTerminalCommandArguments command args u = case command of
|
||||
"ITEM" -> fromMaybe u $ do
|
||||
ibt <- safeHead args >>= readMaybe
|
||||
return $ u & uvWorld %~ createPutItem (itemFromBase ibt)
|
||||
return $ u & uvWorld %~ (snd . createPutItem (itemFromBase ibt))
|
||||
_ -> u
|
||||
|
||||
showTerminalError :: String -> String -> Universe -> Universe
|
||||
|
||||
Reference in New Issue
Block a user