In issue 1996 call() was fixed to properly search for a procedure without replacing _ with spaces. However, it seems like hascall() is still using the old behavior, which is obviously an issue in using the fixed call() :(
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
For hascall() to return 1
hascall() returns 0
Does the problem occur:
When does the problem NOT occur?
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.)
Use set name in the procedure, or make sure that the call to hascall() has spaces instead of underscores.