Browse Source

fixed example code

Michele Caini 8 years ago
parent
commit
21380aacb8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      README.md

+ 2 - 0
README.md

@@ -54,6 +54,8 @@ int main() {
         auto &velocity = ecs.get<Velocity>(entity);
         // ...
     }
+
+    ecs.reset();
 }
 ```