Browse Source

doc: typo

Michele Caini 2 năm trước cách đây
mục cha
commit
8f94041ea2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);
 auto &&other = registry.storage<velocity>("other"_hs);
 
 
 registry.emplace<velocity>(entity);
 registry.emplace<velocity>(entity);
-storage.push(entity);
+other.push(entity);
 ```
 ```
 
 
 Anything that can be done via the registry interface can also be done directly
 Anything that can be done via the registry interface can also be done directly