Skip to content

Commit

Permalink
fixed japanese file archives
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonym271 committed May 29, 2021
1 parent 14856a8 commit 173f0e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 7sCarletSceneEditor/Scenario.cs
Expand Up @@ -34,7 +34,7 @@ public static Scenario Load(string filename)
{
List<Instruction> instructions = new List<Instruction>();

while (file.PeekChar() > 0)
while (file.BaseStream.Position < file.BaseStream.Length)
{
short length = file.ReadInt16();
short opcode = file.ReadInt16();
Expand Down

0 comments on commit 173f0e1

Please sign in to comment.