Added updateCampfire functions to fix on/off state