Jump to content

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
https://forums.kleientertainment.com/forums/topic/150693-please-help-with-error/
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...