fixed typo
This commit is contained in:
parent
0ddfd64bb5
commit
f18dc4336e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue