Skip to content

Commit

Permalink
Merge pull request #404 from BUTR/code-formatting/fix-codeformatting
Browse files Browse the repository at this point in the history
Automated PR to fix formatting errors
  • Loading branch information
Aragas authored Jun 27, 2024
2 parents fab1e55 + 9b90084 commit 56ed718
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructio
}
else
{
codes.InsertRange(finallyIndex + 1, new CodeInstruction[] {
codes.InsertRange(finallyIndex + 1, new CodeInstruction[] {
new CodeInstruction(opcode: OpCodes.Ldarg_0),
new CodeInstruction(opcode: OpCodes.Call, operand: miDelayedScreenAsRootEventCaller)
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ internal class MBObjectFinder : IMBObjectFinder
foreach (var cot in CampaignObjectTypeObjects?.Invoke(Campaign.Current.CampaignObjectManager) ?? [])
{
if (cot is null) continue;

if (ObjectClassGetter?.Invoke(cot, []) is Type objType && objType == type && cot is IEnumerable<MBObjectBase> en && en.FirstOrDefault(o => o.Id == id) is { } result)
{
return result;
Expand Down

0 comments on commit 56ed718

Please sign in to comment.