Jump to content

please, help with error :((


Cornus

Recommended Posts

I created a character and uploaded it to steam. At first everything was fine, but then people began to talk about some kind of error coming out, and when I myself go to play for him, everything is fine with me. How to fix it?
(sorry for bad english, I use a translator)

local function OnUpdate(inst, dt)
    if (inst.components.sanity.current < 75) or (inst.components.sanity.current = nil) then
        inst.components.playervision:ForceNightVision(true)
        inst.components.playervision:SetCustomCCTable(true and {} or nil)
    else
        inst.components.playervision:ForceNightVision(false)
    end
end

daad6f8a-c3ed-4bb1-87a3-fe54708f1438.png

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.

×
  • Create New...