Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(+2)

Game crashes when I try to clear a full inventory. Wheter by eating, throwing away, or using in a recipe, it seems that freeing a slot in a full inventory crashes the game no matter what. Meaning if you get a full inventory your save is lost.

> Error report

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Mouse Event for Glob Left Button
for object objPlayer:

Push :: Execution Error - Variable Index [20,0] out of range [20,-1] - 101132.inventory(100048,640000)
at gml_Script_RemoveItem
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_RemoveItem (line 0)
gml_Object_objPlayer_Mouse_50