epsilonion Posted February 6, 2015 Posted February 6, 2015 I had a lua stack overflow on changing level so I did the fix below and now I get another error this time in the fpsgun.lua. In FPSPlayer.lua, find this line: ReleaseTableObjects(self.weapons) And replace it with this: local k,v for k,v in pairs(self.weapons) do v:Release() end New Error: in fpsgun.lua Quote
AggrorJorn Posted February 6, 2015 Posted February 6, 2015 Just do a check on whether self.emitter[0] ~= nil and then release it. Quote
Josh Posted February 6, 2015 Posted February 6, 2015 I am adding this into the script, just in case. Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.