this is how I call it:
world
New()
(some stuff here, not important just some list creations)
spawn() DemonSchoolCycle()
Then this is the proc:
proc/
DemonSchoolCycle()
(some sleep() stuff, new turf stuff and del turf stuff)
spawn() DemonSchoolCycle()
And this is the error:
Infinite loop suspected--switching proc to background.
If it is not an infinite loop, either do 'set background=1' or set world.loop_checks=0.
proc name: DemonSchoolCycle (/proc/DemonSchoolCycle)
source file: Demon School Cycle.dm,18
usr: null
src: null
call stack:
DemonSchoolCycle()
: New()
Line 18: if(DE.loc==locate(37,120,1))
DE is var/turf/Teleports/DemonSchool_Entrance/DE in world
spawn(1) DemonSchoolCycle()
If you don't put a number inside the spawn, it's not even going to wait a mili-second. So it'll just keep activating the proc.