doc: minor changes
This commit is contained in:
@@ -1209,8 +1209,8 @@ them by copy if needed:
|
||||
```cpp
|
||||
// create a copy of an entity component by component
|
||||
for(auto &&curr: registry.storage()) {
|
||||
if(auto &storage = curr.second; storage.contains(entity)) {
|
||||
storage.emplace(other, storage.get(entity));
|
||||
if(auto &storage = curr.second; storage.contains(src)) {
|
||||
storage.emplace(dst, storage.get(src));
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user