epsilonion Posted February 6, 2015 Share 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 Link to comment Share on other sites More sharing options...
AggrorJorn Posted February 6, 2015 Share Posted February 6, 2015 Just do a check on whether self.emitter[0] ~= nil and then release it. Quote Link to comment Share on other sites More sharing options...
Josh Posted February 6, 2015 Share Posted February 6, 2015 I am adding this into the script, just in case. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
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.