Skip to content

Commit

Permalink
dotnet format
Browse files Browse the repository at this point in the history
  • Loading branch information
IncPlusPlus committed Sep 29, 2021
1 parent 136e7be commit 56c0d21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion titanfall2-rp/GameDetailsProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public static (string, string, Timestamps?, Assets? assets) GetMultiplayerDetail
LargeImageKey = tf2Api.GetMultiplayerMapName(),
LargeImageText = tf2Api.GetFriendlyMapName(),
SmallImageKey = playerInTitan ? tf2Api.GetTitan().GetAssetName() : tf2Api.GetMultiPlayerGameStats().GetCurrentFaction().GetAssetName(),
SmallImageText = playerInTitan ? tf2Api.GetTitan().ToFriendlyString():tf2Api.GetMultiPlayerGameStats().GetCurrentFaction().ToFriendlyString(),
SmallImageText = playerInTitan ? tf2Api.GetTitan().ToFriendlyString() : tf2Api.GetMultiPlayerGameStats().GetCurrentFaction().ToFriendlyString(),
};
switch (currentGameMode)
{
Expand Down
2 changes: 1 addition & 1 deletion titanfall2-rp/Titanfall2API.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public bool IsPlayerInTitan()
public Titan GetTitan()
{
_ensureInit();
return TitanMethods.GetTitan(_sharp!.Memory.Read(_engineDllBaseAddress + 0x7A7429,1)[0]);
return TitanMethods.GetTitan(_sharp!.Memory.Read(_engineDllBaseAddress + 0x7A7429, 1)[0]);
}

public int GetPlayerVelocity()
Expand Down

0 comments on commit 56c0d21

Please sign in to comment.