- arena support improvements.

This commit is contained in:
Tercio
2015-08-25 13:57:54 -03:00
parent 583fb84645
commit 47dda54c2e
7 changed files with 31 additions and 23 deletions
+4 -2
View File
@@ -192,12 +192,14 @@
if (_detalhes.is_in_arena) then
local my_team_color = GetBattlefieldArenaFaction()
if (novo_objeto.grupo) then --> is ally
novo_objeto.arena_ally = true
novo_objeto.arena_team = my_team_color
else --> is enemy
novo_objeto.arena_enemy = true
novo_objeto.arena_team = 1 - my_team_color
end
local arena_props = _detalhes.arena_table [nome]