Also copy _is_room and _room_bounds in PropData::copy_from.

This commit is contained in:
Relintai 2021-08-26 20:51:16 +02:00
parent 6fe7427b03
commit 0bfe718d03

View File

@ -137,6 +137,9 @@ void PropData::copy_from(const Ref<PropData> &prop_data) {
_props.push_back(prop_data->_props[i]);
}
_is_room = prop_data->_is_room;
_room_bounds = prop_data->_room_bounds;
emit_changed();
}