have playerexecution check & delete units on death. fixes bug where units weren't being captured when player dies

This commit is contained in:
Evan
2024-11-23 10:13:03 -08:00
parent c96e1c6a02
commit 3a2f8c9538
3 changed files with 26 additions and 19 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { DefaultConfig } from "./DefaultConfig";
export const devConfig = new class extends DefaultConfig {
unitInfo(type: UnitType): UnitInfo {
const info = super.unitInfo(type)
info.cost = 100
info.cost = 0
return info
}