Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
PassiveModding committed Jul 25, 2024
1 parent 59e7ed7 commit bad500d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Meddle/Meddle.Plugin/Services/InteropService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public void Dispose()

public Task StartAsync(CancellationToken cancellationToken)
{
if (state.InteropRespolved)
if (state.InteropResolved)
return Task.CompletedTask;
log.LogInformation("Resolving ClientStructs");
Addresses.Register();
Expand All @@ -53,7 +53,7 @@ public Task StartAsync(CancellationToken cancellationToken)

Resolver.GetInstance.Setup(sigScanner.SearchBase, cacheFile: cacheFile);
Resolver.GetInstance.Resolve();
state.InteropRespolved = true;
state.InteropResolved = true;
log.LogInformation("Resolved ClientStructs");
return Task.CompletedTask;
}
Expand Down
2 changes: 1 addition & 1 deletion Meddle/Meddle.Plugin/Services/PluginState.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

public class PluginState
{
public bool InteropRespolved { get; set; }
public bool InteropResolved { get; set; }
}
2 changes: 1 addition & 1 deletion Meddle/Meddle.Plugin/UI/CharacterTab.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ private void HandleExportLog(LogLevel level, string message)

public void Draw()
{
if (!pluginState.InteropRespolved)
if (!pluginState.InteropResolved)
{
ImGui.Text("Waiting for game data...");
return;
Expand Down
2 changes: 1 addition & 1 deletion Meddle/Meddle.Plugin/UI/WorldTab.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void Dispose()

public void Draw()
{
if (!pluginState.InteropRespolved) return;
if (!pluginState.InteropResolved) return;
var position = clientState.LocalPlayer?.Position ?? Vector3.Zero;

if (ImGui.Button("Parse world objects"))
Expand Down

0 comments on commit bad500d

Please sign in to comment.