Ports tgstation/53371 (#60)

This commit is contained in:
SandPoot
2020-09-03 16:43:42 -03:00
committed by GitHub
parent 05485c4b2c
commit 3f6733fc72
3 changed files with 13 additions and 8 deletions
+2 -2
View File
@@ -3,12 +3,12 @@
var/datum/preferences/P = new
P.load_path("test")
P.features["flavor_text"] = "Foo"
P.features["ooc_notes"] = "Bar"
P.features["skyrat_ooc_notes"] = "Bar"
P.save_character()
P.load_character()
if(P.features["flavor_text"] != "Foo")
Fail("Flavor text is failing to save.")
if(P.features["ooc_notes"] != "Bar")
if(P.features["skyrat_ooc_notes"] != "Bar")
Fail("OOC text is failing to save.")
catch(var/exception/e)
Fail("Failed to save and load character due to exception [e.name]")