It was my previous understanding that Garry’s Mod had facilities built in that acted as a safety net when us coders do something stupid, like calling a function inside of its self with no base case. I had the misconception that I could call a SWEP’s base PrimaryAttack() function as such:
if !self.Owner:KeyDown(IN_USE) then
–Basically the parent function
When I probably should have been using base in place of self. None the less, I changed levels and fired up the weapon, so to speak. Lo and behold, both my gmod client and server choked up and died, without so much as an error.
So, I have to ask: Did I just do something so blatantly obvious that there isn’t anything built in to catch it, or is the infinite loop detection functionality disabled?