Help with infinite loop please!

I am working on another multiplayer game. It is called Mob Arena. I made to referees which are “supposed” to spawn ogres. I filled in the existence.builds and existence.spawns. I also filled in misc.referee. However, I cannot understand why I get an infinite Loop. I checked the consoloe, and nothing was useful. Can somebody please help me?
The link to my level editor is here.
codecombat.com/editor/level/mob-arena?

I don’t get an infinite loop message when I play it, but I did notice while I was playing humans that I died before the AI and it told me that I won. Same when I played ogres. Maybe that has something to do with it?