Implements some micro-optimizations
All checks were successful
Build / Build (push) Successful in 51s
All checks were successful
Build / Build (push) Successful in 51s
This commit is contained in:
@@ -173,7 +173,7 @@ public static class MoveTurnExecutor
|
||||
|
||||
hitData.Type = hitType;
|
||||
|
||||
var types = target.Types.ToList();
|
||||
var types = new List<TypeIdentifier>(target.Types);
|
||||
executingMove.RunScriptHook(x => x.ChangeTypesForMove(executingMove, target, hitIndex, types));
|
||||
target.RunScriptHook(x => x.ChangeTypesForIncomingMove(executingMove, target, hitIndex, types));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user