Oops, little typo

This commit is contained in:
Ereshkigal 2021-09-26 18:32:36 +02:00
parent 05dc42334e
commit 4d93c19223

View File

@ -100,11 +100,11 @@ class PlayerModifications {
const database = DatabaseServer.tables; const database = DatabaseServer.tables;
const types = database.bots.types const types = database.bots.types
for(const bots in types){ for(const bots in types){
if(types[bot].experience.standingForKill < 0 && types[bot].experience.standingForKill > 0){ if(types[bots].experience.standingForKill < 0 && types[bots].experience.standingForKill > 0){
types[bot].experience.standingForKill = 0 types[bots].experience.standingForKill = 0
} }
if(types[bot].experience.aggressorBonus < 0 && types[bot].experience.aggressorBonus > 0){ if(types[bots].experience.aggressorBonus < 0 && types[bots].experience.aggressorBonus > 0){
types[bot].experience.aggressorBonus = 0 types[bots].experience.aggressorBonus = 0
} }
} }
} }