Crock Pot Rot Bug Returns


Recommended Posts

The Crock Pot rot bug is back in Shipwrecked. The solution: bring the code added in RoG to Shipwrecked, by adding this block into the :Harvest() function:

			if self.spoiltask then 				self.spoiltask:Cancel()				self.spoiltask = nil			end

The reason this occurs is because when food finishes cooking, it schedules its spoilage on the crock pot (since it hasn't spawned the food prefab yet). When the task finishes, it turns it to rot. However, this task doesn't get canceled when you harvest from the crock pot, so if it's cooking again when some previous food's spoil timer finishes, it will turn to rot inside the pot.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.