Skip to content

Commit

Permalink
- fixed a bug in Player.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyZJiang committed May 6, 2018
1 parent e64e36c commit 4191868
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion D-OS Save Editor/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public partial class MainWindow
private readonly string _defaultProfileDir = $"{Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)}{DirectorySeparatorChar}Larian Studios{DirectorySeparatorChar}Divinity Original Sin Enhanced Edition{DirectorySeparatorChar}PlayerProfiles";
private enum BackupStatus { None, Current, Old, NoChecksum, NoImage }

public static string Version { get; } = "v1.5.1";
public static string Version { get; } = "v1.5.2";
private string _updateLink;

public MainWindow()
Expand Down
4 changes: 2 additions & 2 deletions D-OS Save Editor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.5.1.0")]
[assembly: AssemblyFileVersion("1.5.1.0")]
[assembly: AssemblyVersion("1.5.2.0")]
[assembly: AssemblyFileVersion("1.5.2.0")]
2 changes: 1 addition & 1 deletion D-OS Save Editor/savegame/Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public Player DeepClone()
player.Skills = new Dictionary<string, bool>(player.Skills);
player.Attributes = new Dictionary<int, int>(player.Attributes);
player.Abilities = new Dictionary<int, int>(player.Abilities);
player.Talents = new Dictionary<int, long>(player.Talents);
player.Talents = new Dictionary<int, uint>(player.Talents);
player.Traits = new Dictionary<int, int>(player.Traits);
player.Items = Items.Select(a => a.DeepClone()).ToArray();
return player;
Expand Down
4 changes: 2 additions & 2 deletions UpdateCheck
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HandShake={ABCQWEZXCrtyfghvbnUIOJKLNM}
LatestVersion={v1.5.1}
LatestVersion={v1.5.2}
Link=linkStart{https://github.com/tmxkn1/D-OS-Save-Editor/releases}linkEnd
Msg=msgStart{v1.5.1 is now available with a new feature: Talent editing. }msgEnd
Msg=msgStart{v1.5.2 is now available with a new feature: Talent editing. }msgEnd
4 changes: 2 additions & 2 deletions UpdateCheck1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
HandShake={ABCQWEZXCrtyfghvbnUIOJKLNM}
LatestVersion={v1.5.1}
LatestVersion={v1.5.2}
Link=linkStart{https://github.com/tmxkn1/D-OS-Save-Editor/releases}linkEnd
Msg=msgStart{v1.5.1 is now available with a new feature: Talent editing. }msgEnd
Msg=msgStart{v1.5.2 is now available with a new feature: Talent editing. }msgEnd

0 comments on commit 4191868

Please sign in to comment.