How to keep game progress in don’t starve

After you dead in game in the <don’t starve> game,you will lose the game progress . There is a way to keep  the progress  by modifying the game script file.

Open the gamelogic.lua file in the scripts folder , you will find there is a function named  “HandleDeathCleanup” that doing the cleanup job after you dead in game . What we need to do is that find out where the function be called and comment the express . You will find the “HandleDeathCleanup” function be called in  “OnPlayerDeath” function,then comment the “HandleDeathCleanup”  with “–” string before it .

QQ20150407-2@2x QQ20150407-1@2x

After that,you will realise that you did it.