Jump to content

Torch mod keeps crashing when fuel runs out


Recommended Posts

My mod keeps crashing and I'm not 100% sure why. I made a torch and everytime it runs out it crashes the game. I've attached my log file I'll add any other text anyone needs. Also as I'm sure you can see I have an issue with "component heater already exists!" and "component firefx already exists!" I'd like to fix that too, but preferably get the crash fixed first.

log.txt

Link to comment
Share on other sites

Did you copy a mod for don't starve for the endothermic torch?

 

The code is missing network code, inst.entity:AddNetwork(), and lacks the if TheWorld.ismastersim then return inst end.

Look at torch.lua or lighter.lua.

 

Same for the fire, torchfire.lua.

Edited by DarkXero
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...