Michele Caini 2 лет назад
Родитель
Сommit
8f94041ea2
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      docs/md/entity.md

+ 1 - 1
docs/md/entity.md

@@ -1549,7 +1549,7 @@ own API for them. However, there is still no limit to the possibilities of use:
 auto &&other = registry.storage<velocity>("other"_hs);
 
 registry.emplace<velocity>(entity);
-storage.push(entity);
+other.push(entity);
 ```
 
 Anything that can be done via the registry interface can also be done directly