When you directly reference the source by name in ImportText, it doesn't work, even tho doing the same thing with ExportText works.
Numbered Steps to Reproduce Problem:
Directly reference by name a source file to Import text from.
Code Snippet (if applicable) to Reproduce Problem:
var/savefile/F=new
F.ImportText(,"savetest.txt")
var/bla=""
F["test"] >> bla
world.log<<bla
Expected Results:
Text is imported, and the output shows what I pick
Actual Results:
Text isn't imported, so the output is blank
Does the problem occur:
Every time? Or how often? Every time
In other games? Yes
In other user accounts? Yes
On other computers? Yes
When does the problem NOT occur?
Never
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? Not that I know of
Workarounds:
Defining the file beforehand
var/txtfile = file("savetest.txt")
var/savefile/F=new
F.ImportText(,txtfile)
var/bla=""
F["test"] >> bla
world.log<<bla