From be260a48dd92b507ca413027c2d2489172ce20f2 Mon Sep 17 00:00:00 2001 From: JavidPack Date: Mon, 28 Aug 2017 18:01:57 -0600 Subject: [PATCH] Restore BecomeAdmin command, up version, another reload fix. --- Commands/BecomeAdmin.cs | 4 +--- HEROsMod.cs | 2 ++ HEROsModServices/Login.cs | 4 ++-- build.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Commands/BecomeAdmin.cs b/Commands/BecomeAdmin.cs index ac505be..ddd3a28 100644 --- a/Commands/BecomeAdmin.cs +++ b/Commands/BecomeAdmin.cs @@ -1,5 +1,4 @@ -/* -using HEROsMod.HEROsModNetwork; +using HEROsMod.HEROsModNetwork; using System; using Terraria; using Terraria.ModLoader; @@ -47,4 +46,3 @@ public override void Action(CommandCaller caller, string input, string[] args) } } } -*/ \ No newline at end of file diff --git a/HEROsMod.cs b/HEROsMod.cs index 627fe1c..d6feb02 100644 --- a/HEROsMod.cs +++ b/HEROsMod.cs @@ -74,6 +74,8 @@ public override void Unload() UIKit.UIDropdown.capDown = null; UIKit.UICheckbox.checkboxTexture = null; UIKit.UICheckbox.checkmarkTexture = null; + HEROsModServices.Login._loginTexture = null; + HEROsModServices.Login._logoutTexture = null; try { KeybindController.bindings.Clear(); diff --git a/HEROsModServices/Login.cs b/HEROsModServices/Login.cs index 68522fa..303b8c7 100644 --- a/HEROsModServices/Login.cs +++ b/HEROsModServices/Login.cs @@ -20,8 +20,8 @@ public static bool LoggedIn } } - private static Texture2D _loginTexture; - private static Texture2D _logoutTexture; + internal static Texture2D _loginTexture; + internal static Texture2D _logoutTexture; private static event EventHandler LoginStatusChanged; diff --git a/build.txt b/build.txt index 0d50392..534d03d 100644 --- a/build.txt +++ b/build.txt @@ -1,5 +1,5 @@ author = HERO, jopojelly -version = 0.1.5.5 +version = 0.1.5.6 displayName = HERO's Mod homepage = http://forums.terraria.org/index.php?threads/heros-mod-creative-mode-server-management-and-over-25-tools-1-3-1-1-compatible.44650/ buildIgnore = .vs\*, Properties\*, *.csproj, *.user, obj\*, bin\*, *.config, tmod\*, ignore\*, ZVidBuild\*, Images\Old*, Images\AllIcons.psd, .git\*, LICENSE, .gitignore