vytas2015 Posted January 28, 2019 Share Posted January 28, 2019 i create containers widgets all work fine but when i try eat food inside game crash [00:01:06]: [string "scripts/components/container_replica.lua"]:209: attempt to index field 'inventoryitem' (a nil value) writing crash with container replica but i use in script local function OnEntityReplicated(inst) if inst.replica.container ~= nil then inst.replica.container:WidgetSetup(inst.prefab) end end Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now