Page 1 of 1

Duplicate map shows up in map list

Posted: Fri Aug 20, 2010 2:22 pm
by skelltor
ok so i am adding my mod to marvel4s maps (with his permission of course) but when i add the era in the instant action screen two maps show up one with an orange name and one with white also the eras do not have the right names

here is my addme part that referes to the map
sp_n = table.getn(sp_missionselect_listbox_contents)
sp_missionselect_listbox_contents[sp_n+1] = { mapluafile = "Y4A%s_%s", era_r = 1, era_e = 1, mode_con_r = 1, mode_con_e = 1, change = {era_x = { name="BFSM Clone Wars", icon2="rote_icon" }, era_y = { name="BFSM Galactic Civil War", icon3="rote_icon" },},}
mp_n = table.getn(mp_missionselect_listbox_contents)
mp_missionselect_listbox_contents[mp_n+1] = sp_missionselect_listbox_contents[sp_n+1]

if anyone can help it would great or if you need any more stuff from me.