summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--level.bmx4
1 files changed, 4 insertions, 0 deletions
diff --git a/level.bmx b/level.bmx
index 8535a64..254ac5d 100644
--- a/level.bmx
+++ b/level.bmx
@@ -244,6 +244,8 @@ Type TLevelSet
TLevelException.Error(file + " couldn't be opened")
EndIf
+ s=LittleEndianStream(s)
+
Local o:TLevelSet=New TLevelSet
Local c:Int
@@ -274,6 +276,8 @@ Type TLevelSet
Return False
EndIf
+ s=LittleEndianStream(s)
+
s.WriteLine(MAGIC)
s.WriteLine(CurrentDate()+CurrentTime())
s.WriteLine(name)