WC2: fix typo
This commit is contained in:
parent
e02e933f41
commit
d12cf7d68c
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ end
|
|||
|
||||
function wc_ii_generate_sides(scenario, prestart_event, nplayers, scenario_num, enemy_stength, enemy_data, scenario_data)
|
||||
|
||||
local n_enemty_sides = scenario_num == 5 and 6 or scenario_num
|
||||
local n_enemy_sides = scenario_num == 5 and 6 or scenario_num
|
||||
|
||||
for i = 1, nplayers do
|
||||
add_player_side(scenario, scenario_num, scenario_data.player_gold)
|
||||
|
@ -95,7 +95,7 @@ function wc_ii_generate_sides(scenario, prestart_event, nplayers, scenario_num,
|
|||
for i = nplayers + 1, 3 do
|
||||
add_empty_side(scenario)
|
||||
end
|
||||
for i = 1, n_enemty_sides do
|
||||
for i = 1, n_enemy_sides do
|
||||
local side_data = enemy_data.sides[i]
|
||||
--note: this must go before the 'wc2_enemy_themed' generated by the mapgen.
|
||||
--note2: this must go after "difficulty selection"
|
||||
|
|
Loading…
Add table
Reference in a new issue