"Wave defense" has the function create_battle_surface(), which contains the following:
Code: Select all
for k, surface in pairs (game.surfaces) do
if surface.name ~= "nauvis" then
game.delete_surface(surface.name)
end
end
I guess there are about 30-40 different characters people can choose from at the moment. If somebody was using all supported character mods, a lot of time will be spent uselessly on deleting surfaces that will be immediately restored (including the dummy and preview characters + rebuilding the players' GUIs). Could you, please, ignore my surfaces when you delete all but nauvis? The name of the surface for storing the dummies is "minime_dummy_dungeon", the names of the preview character surfaces start with "minime_character_previews_".
@Mods: I'm not quite sure this is the correct forum for my post as this is neither a question about how to mod something nor a bug report nor a modding interface request. If you think it would fit in better somewhere else, please move it!