Skip to content

Commit

Permalink
Merge pull request #14 from shadybug/patch-1
Browse files Browse the repository at this point in the history
Godot 3.2 error update
  • Loading branch information
paulloz committed Jan 30, 2020
2 parents 80a6caa + 19598fd commit 0dd77c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/paulloz.ink/InkStory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ public void SaveStateOnDisk(String path)
if (!path.StartsWith("res://") && !path.StartsWith("user://"))
path = $"user://{path}";
File file = new File();
file.Open(path, (int)File.ModeFlags.Write);
file.Open(path, File.ModeFlags.Write);
this.SaveStateOnDisk(file);
file.Close();
}
Expand All @@ -260,7 +260,7 @@ public void LoadStateFromDisk(String path)
if (!path.StartsWith("res://") && !path.StartsWith("user://"))
path = $"user://{path}";
File file = new File();
file.Open(path, (int)File.ModeFlags.Read);
file.Open(path, File.ModeFlags.Read);
this.LoadStateFromDisk(file);
file.Close();
}
Expand Down

0 comments on commit 0dd77c6

Please sign in to comment.