DreamDaemon crashes when you run the code below. Very easy to reproduce.
Numbered Steps to Reproduce Problem:
Compile code below, run in DreamDaemon.
Code Snippet (if applicable) to Reproduce Problem:
world/New()
..()
var/teststr = "Guy1|Hello There\nGuy2|Hi person\nGuy3|What's up?"
var/list/decomposed = splittext(teststr,regex("\\||$","m"))
for(var/substr in decomposed)
world.log << decomposed
Expected Results:
Not crashing
Actual Results:
Instant crash
Does the problem occur:
Every time? Or how often? Every time
In other games? Not game-related
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur?
Doesn't crash in 512
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Appears to be new in 513
Workarounds:
Use 512