fixed typo

This commit is contained in:
leca 2024-03-07 13:24:51 +03:00
parent 0ddfd64bb5
commit f18dc4336e
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ func shot(client_id):
var client_team = 1 if client["class_type"] > 0 else -1
if (target_client_team == client_team):
if (GameData.server_settings["game"]["gamemodes"][ServerUtils.gamemode]["firendlyfile"]):
if (GameData.server_settings["game"]["gamemodes"][str(ServerUtils.gamemode)]["friendlyfire"]):
target_client["HP"] -= damage
else:
target_client["HP"] -= damage