Prevent heal locations from being duplicated
This commit is contained in:
parent
1b832929b2
commit
e518e2c554
1 changed files with 1 additions and 0 deletions
|
@ -1893,6 +1893,7 @@ void Editor::duplicateSelectedEvents() {
|
|||
logWarn(QString("Skipping duplication, the map limit for events of type '%1' has been reached.").arg(eventType));
|
||||
continue;
|
||||
}
|
||||
if (eventType == EventType::HealLocation) continue;
|
||||
Event *duplicate = new Event(*original);
|
||||
map->addEvent(duplicate);
|
||||
DraggablePixmapItem *object = addMapEvent(duplicate);
|
||||
|
|
Loading…
Reference in a new issue