Content files specified more than once are loaded more than once
Original title: Openmw-CS loads cfg content files as well as omwaddon files
When testing a plugin using openmw-cs, duplicate instances are seen in the openmw.exe. Note: this only occurs when testing using the cs, the actual plugin does not create duplicates when loaded normally.
Recreation steps:
Original:
- open openmw-cs.exe
- Select "Edit A Content File"
- Select Morrowind.esm in the dropdown
- Check "Enaylya.omwaddon" (Tribunal.esm and Bloodmoon.esm should become checked as well)
- Select "Open" button
- Open "world" -> "Cells"
- Filter down to "Balmora, Guild of FIghters"
- Right click and select view cell 8.5 Make a debug profile if you have not done soe.
- Hit play button in cell view (you must have a debug rofile setup for this button to be usable)
Simple:
- Specify the same content file several times in
openmw.cfg
. - Run OpenMW.
- Observe the content file being loaded multiple times.
Entities should be duplicated.
Edited by Andrei Kortunov