Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Also got another inventory-related crash (I do not remember exactly but it happened when trying to re-wear a mask after molting).

```

Unhandled exception. System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')

   at System.Collections.Generic.List`1.get_Item(Int32 index)

   at Crablike.Displays.InventoryScreen.RenderScreen() in C:\Users\User\source\repos\Crablike\Crablike\Displays\InventoryScreen.cs:line 636

   at Crablike.Displays.InventoryScreen.ProcessKeyboard(Keyboard keyboard) in C:\Users\User\source\repos\Crablike\Crablike\Displays\InventoryScreen.cs:line 282

   at SadConsole.Host.Game.SadConsoleGameComponent.Update(GameTime gameTime)

   at Microsoft.Xna.Framework.Game.SortingFilteringCollection`1.ForEachFilteredItem[TUserData](Action`2 action, TUserData userData)

   at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)

   at Microsoft.Xna.Framework.Game.Tick()

   at Microsoft.Xna.Framework.SdlGamePlatform.RunLoop()

   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)

   at Microsoft.Xna.Framework.Game.Run()

   at SadConsole.Game.Run()

   at Program.<Main>$(String[] args) in C:\Users\User\source\repos\Crablike\Crablike\Program.cs:line 14```