In DM, you can either reference a typepath by name or by number. /regex is the same as /datum/5. However, this numerical indexing is not supported by text2path.
Numbered Steps to Reproduce Problem:
Code Snippet (if applicable) to Reproduce Problem:
world.log << /datum/5 // returns /regex
world.log << text2path("/datum/5") // returns null
Expected Results:
returns the type it's supposed to
Actual Results:
returns null
Does the problem occur:
Every time? Or how often?
In other games?
In other user accounts?
On other computers?
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.)
Workarounds: