1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

Fixed themes features duplicate bug

This commit is contained in:
Robert Jordan
2015-06-25 16:42:12 -04:00
parent d11b8bc8fa
commit a05ad7319e

View File

@@ -198,6 +198,7 @@ void theme_create_preset(int duplicate, const char *name)
for (int i = 0; i < (int)gNumThemeWindows; i++) {
gConfigThemes.presets[preset].windows[i] = gConfigThemes.presets[duplicate].windows[i];
}
gConfigThemes.presets[preset].features = gConfigThemes.presets[duplicate].features;
themes_save_preset(preset);
theme_change_preset(preset);
}