changeset 3671 | a94d1dc4a8d9 |
parent 3566 | 772a46ef8288 |
child 3673 | 45778b16b224 |
--- a/gameServer/Store.hs Sun Jul 25 10:16:34 2010 -0400 +++ b/gameServer/Store.hs Sun Jul 25 18:55:54 2010 +0400 @@ -77,7 +77,7 @@ removeElem :: MStore e -> ElemIndex -> IO () removeElem (MStore ref) (ElemIndex n) = do (busyElems, freeElems, arr) <- readIORef ref - IOA.writeArray arr n undefined + IOA.writeArray arr n (error "Store: no element") writeIORef ref (IntSet.delete n busyElems, IntSet.insert n freeElems, arr)