Skip to content

Commit

Permalink
new version
Browse files Browse the repository at this point in the history
  • Loading branch information
igorseabra4 committed Jul 23, 2020
1 parent 6c24953 commit 226ecbf
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion IndustrialPark/Assets/Binary/AssetSHRP.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public override bool HasReference(uint assetID)
if (a.HasReference(assetID))
return true;
}
catch (Exception e)
catch
{
#if DEBUG
MessageBox.Show("Error searching for references: " + e.Message + ". It will be skipped on the search.");
Expand Down
12 changes: 8 additions & 4 deletions IndustrialPark/Other/DiscordRPCController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,21 @@ internal static void ToggleDiscordRichPresence(bool value)
{
try
{
timer1.Enabled = false;
client.Dispose();
if (client != null)
client.Dispose();
if (timer1 != null)
timer1.Enabled = false;
}
catch { }
}
}

public static void Initialize()
{
timer1 = new System.Windows.Forms.Timer();
timer1.Interval = 1000;
timer1 = new System.Windows.Forms.Timer
{
Interval = 1000
};
timer1.Tick += timer1_Tick;

/*this application ID is assigned to Suprnova#0001 on Discord
Expand Down
2 changes: 1 addition & 1 deletion IndustrialPark/Other/IPversion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
public class IPversion
{
public string version = "v0.1.4.6";
public string version = "v0.1.4.7";
public string versionName;
}
}
2 changes: 1 addition & 1 deletion IndustrialPark/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@
// É possível especificar todos os valores ou usar como padrão os Números de Build e da Revisão
// utilizando o "*" como mostrado abaixo:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.1.4.6")]
[assembly: AssemblyVersion("0.1.4.7")]
4 changes: 2 additions & 2 deletions IndustrialPark/Resources/ip_version.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "v0.1.4.6",
"versionName": "Fixes editing of DYNA Ring Control."
"version": "v0.1.4.7",
"versionName": "* Adds Discord Rich Presence, showing Industrial Park and the currently open file under your Discord status, toggleable under Tools (thanks Suprnova123).\n* Adds more info on Entity assets and SIMPs (thanks Seil).\n* Fixes issue with UI and UIFT assets being rendered when not supposed to."
}

0 comments on commit 226ecbf

Please sign in to comment.