Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Berzeger committed Feb 5, 2024
1 parent e600beb commit 3339f38
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions Scripts/LeaveGuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ public static void Init(InitParams initParams)
void Awake()
{
_mod.SaveDataInterface = this;
//var settings = _mod.GetSettings();
// ---

_mod.MessageReceiver = (string message, object data, DFModMessageCallback callback) =>
{
HandleMessage(message, data, callback);
Expand Down
3 changes: 1 addition & 2 deletions Scripts/LeaveGuildServicePopupWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ protected override void Setup()
{
ResolveQuestOfferLocationsModCompatibility();

TextureReplacement.TryImportTexture(baseTextureName, true, out Texture2D tex);
baseTexture = tex;
TextureReplacement.TryImportTexture(baseTextureName, true, out baseTexture);

// Create interface panel
mainPanel.HorizontalAlignment = HorizontalAlignment.Center;
Expand Down

0 comments on commit 3339f38

Please sign in to comment.