Jump to content

I lost my save and I cant open it


Butterflyholix
  • Pending



User Feedback


I think the yots_lantern_post.lua at line 624 can be:

local function OnUpdateFn(inst, dt)
    if ThePlayer ~= nil and ThePlayer:IsValid() then
        local dist = inst:GetDistanceSqToInst(ThePlayer)

        if dist < near_prox and not inst.near then
            onNear(inst)
            inst.near = true
        elseif dist > far_prox and inst.near == true then
            onFar(inst)
            inst.near = false
        end
    end
end

Not sure if some other things/structures could be missing the same.

Edited by Aztronat

Share this comment


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

×
  • Create New...