Executions dont switch owner (#326)

when an building is taken over by another player the execution for it
doesnt change its owner this makes it so when a sam is captured it tries
to intercept your own nukes and doesnt intercept the ones by the
previous player

this change makes executions of buildings automaticly switch their owner
This commit is contained in:
Readixyee
2025-03-28 00:03:15 +01:00
committed by GitHub
parent b8e750e31e
commit 665a8c3823
13 changed files with 24 additions and 51 deletions
-3
View File
@@ -63,9 +63,6 @@ export class ShellExecution implements Execution {
}
}
owner(): Player {
return null;
}
isActive(): boolean {
return this.active;
}