3 | | 1) simulation/components/Damage.js:90 says "let playersToDamage = !data.friendlyFire ? QueryPlayerIDInterface(data.attackerOwner).GetEnemies() : null;" but data.friendlyFire is always true because the string "false" is assigned to it and non-empty strings are interpreted as boolean "true" |
4 | | 2) The same line says if the friendlyFire == true then the playersToDamage = null but this is wrong because Damage.js:241-242 says "if (!origin || !radius || !players) return [];". Which means the players should not be null. |
| 3 | 1) simulation/components/Damage.js:90 says {{{let playersToDamage = !data.friendlyFire ? QueryPlayerIDInterface(data.attackerOwner).GetEnemies() : null;}}} but {{{data.friendlyFire}}} is always true because the string "false" is assigned to it from the template and non-empty strings are interpreted as boolean "true" |
| 4 | 2) The same line says if the {{{friendlyFire == true}}} then {{{playersToDamage = null}}} but this is wrong because Damage.js:241-242 says {{{if (!origin || !radius || !players) return [];}}}. Which means the players should not be null. |