Skip to content

Commit

Permalink
Fix OpCodes
Browse files Browse the repository at this point in the history
  • Loading branch information
louis1706 committed Dec 31, 2024
1 parent 8f38512 commit 56ffbc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstructi

// WaveSpawner.SpawnQueue = ev.SpawnQueue;
new(OpCodes.Callvirt, PropertyGetter(typeof(RespawningTeamEventArgs), nameof(RespawningTeamEventArgs.SpawnQueue))),
new(OpCodes.Stfld, Field(typeof(WaveSpawner), nameof(WaveSpawner.SpawnQueue))),
new(OpCodes.Stsfld, Field(typeof(WaveSpawner), nameof(WaveSpawner.SpawnQueue))),
});

// remove "wave.PopulateQueue(WaveSpawner.SpawnQueue, num);"
Expand Down

0 comments on commit 56ffbc1

Please sign in to comment.