Skip to content

Commit be260a4

Browse files
committed
Restore BecomeAdmin command, up version, another reload fix.
1 parent 379e626 commit be260a4

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Commands/BecomeAdmin.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
/*
2-
using HEROsMod.HEROsModNetwork;
1+
using HEROsMod.HEROsModNetwork;
32
using System;
43
using Terraria;
54
using Terraria.ModLoader;
@@ -47,4 +46,3 @@ public override void Action(CommandCaller caller, string input, string[] args)
4746
}
4847
}
4948
}
50-
*/

HEROsMod.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ public override void Unload()
7474
UIKit.UIDropdown.capDown = null;
7575
UIKit.UICheckbox.checkboxTexture = null;
7676
UIKit.UICheckbox.checkmarkTexture = null;
77+
HEROsModServices.Login._loginTexture = null;
78+
HEROsModServices.Login._logoutTexture = null;
7779
try
7880
{
7981
KeybindController.bindings.Clear();

HEROsModServices/Login.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ public static bool LoggedIn
2020
}
2121
}
2222

23-
private static Texture2D _loginTexture;
24-
private static Texture2D _logoutTexture;
23+
internal static Texture2D _loginTexture;
24+
internal static Texture2D _logoutTexture;
2525

2626
private static event EventHandler LoginStatusChanged;
2727

build.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
author = HERO, jopojelly
2-
version = 0.1.5.5
2+
version = 0.1.5.6
33
displayName = HERO's Mod
44
homepage = http://forums.terraria.org/index.php?threads/heros-mod-creative-mode-server-management-and-over-25-tools-1-3-1-1-compatible.44650/
55
buildIgnore = .vs\*, Properties\*, *.csproj, *.user, obj\*, bin\*, *.config, tmod\*, ignore\*, ZVidBuild\*, Images\Old*, Images\AllIcons.psd, .git\*, LICENSE, .gitignore

0 commit comments

Comments
 (0)