diff options
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor.cpp b/editor/editor.cpp index 8526bff..8345964 100644 --- a/editor/editor.cpp +++ b/editor/editor.cpp @@ -216,7 +216,7 @@ void PkeEditor_Tick(double delta) { return; } - if (selectedEntity && EntitiesToBeRemoved.Has(ECS_GetEntity(selectedEntity->entHandle))) { + if (selectedEntity && pk_arr_find_first_index(&EntitiesToBeRemoved, ECS_GetEntity(selectedEntity->entHandle), ecs_pk_arr_find_first_matching_pointer) != uint32_t(-1)) { selectedEntity = nullptr; } |
