text2path(/list) does not return /list path
Numbered Steps to Reproduce Problem:
use verb
Code Snippet (if applicable) to Reproduce Problem:
/client/verb/test()
var/str = "/list"
var/path = text2path(str)
world << "[path] \ref[path]"
Expected Results:
return "/list [0x28000000]"
Actual Results:
returns " [0x0]"
Does the problem occur:
Every time? Or how often? always
In other games? base-case
In other user accounts? yes
On other computers? yes
When does the problem NOT occur?
always occurs
seems to work for other typepaths, except /world.
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.)
Unable to test currently
Workarounds:
path = str=="/list" ? /list : text2path(str)