summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2024-01-16 16:35:24 -0500
committerJonathan Bradley <jcb@pikum.xyz>2024-01-16 16:35:24 -0500
commitca516153eab089eb7797f8b2b1f8a9e2f7801d6a (patch)
treeea736c00b3ba67de2d8009544cc0446ab18ac514 /src/game.cpp
parentd870e5fe0021278940810f403460ca7ec9fbae19 (diff)
level should register as entity right away and not during load process
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 24b98cd..37109c5 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -435,7 +435,6 @@ void Game_LoadSceneFile(PkeLevel *level, const char *sceneFilePath) {
return;
}
memset(readLine, '\0', readLineLength);
- ECS_CreateEntity(level);
while (f.getline(readLine, readLineLength)) {
if (strcmp(PKE_FILE_OBJ_CAMERA, readLine) == 0) {