Skip to content

Commit

Permalink
feex
Browse files Browse the repository at this point in the history
  • Loading branch information
amylizzle committed Feb 3, 2024
1 parent 2b1d404 commit a7755bd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
29 changes: 16 additions & 13 deletions Content.Tests/DMProject/Tests/Savefile/SequenceRead.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,26 @@
var/test4

/proc/RunTest()
var/savefile/F = new("test.sav")
F["test1"] = "beep"
F["test2"] = "boop"
F["test3"] = "berp"
F["test4"] = "borp"
var/savefile/F = new("savtest.sav")
F["savtest1"] = "beep"
F["savtest2"] = "boop"
F["savtest3"] = "berp"
F["savtest4"] = "borp"
del(F)
fcopy("test.sav", "test2.sav")
var/savefile/F2 = new("test2.sav")
fcopy("savtest.sav", "savtest2.sav")
var/savefile/F2 = new("savtest2.sav")
var/datum/test_holder/T = new()
F2["test1"] >> T.test1
F2["test2"] >> T.test2
F2["test3"] >> T.test3
F2["test4"] >> T.test4
T.test1 = F2["savtest1"]
T.test2 = F2["savtest2"]

F2["savtest1"] >> T.test1
F2["savtest2"] >> T.test2
F2["savtest3"] >> T.test3
F2["savtest4"] >> T.test4

ASSERT(T.test1 == "beep")
ASSERT(T.test2 == "boop")
ASSERT(T.test3 == "berp")
ASSERT(T.test4 == "borp")
fdel("test.sav")
fdel("test2.sav")
fdel("savtest.sav")
fdel("savtest2.sav")
1 change: 0 additions & 1 deletion DMCompiler/DM/Visitors/DMProcBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,6 @@ public void ProcessStatementInput(DMASTProcStatementInput statementInput) {
_proc.Input(leftRef, rightRef);

_proc.AddLabel(leftEndLabel);
_proc.PopReference(rightRef);
_proc.AddLabel(rightEndLabel);
}

Expand Down

0 comments on commit a7755bd

Please sign in to comment.