rockninja Posted July 31, 2018 Share Posted July 31, 2018 owner:ListenForEvent("death", handle_death(owner,inst)) this code is called instantly, even though the owner does not die owner:ListenForEvent("death", handle_death) this is called on death, but does not have the constructor, so it crashes. what's going on? Link to comment https://forums.kleientertainment.com/forums/topic/94167-listenforevent-firing-instantly/ 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