Numbered Steps to Reproduce Problem:
2 - compile the code and run it
Code Snippet (if applicable) to Reproduce Problem:
/world/New()
log << "Hello World"
call(new /test, /test/proc/bug)()
log << "Bye, world"
/test/proc/bug()
sleep_n_action()
/proc/sleep_n_action()
sleep(10)
world.log << "Hi, Lummox"
Expected Results:
Hello World
*1 sec of nothing*
Hi, Lummox
Bye, world
Actual Results:
Hello World
Bye, world
Hi, Lummox
Does the problem occur:
Every time? Or how often? Y
When does the problem NOT occur?
When replacing
call(new /test, /test/proc/bug)()
with
var/test/T = new
T.bug()
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
I noticed the problem in 515.1637 and it still persists in 516.1652. Dont know about earlier versions
Workarounds:
dunno, dont use call()