Skip to content

Commit

Permalink
Fix emscripten / debug compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
tcdude committed Feb 27, 2024
1 parent 242bb60 commit 817471f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/krink/flecs/krink_flecs.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ void kr_flecs_init(bool with_flecs_rest) {
kr_set_flecs_os_api();
#endif
kr_world = ecs_init();
#ifndef NDEBUG
#if !defined(NDEBUG) && !defined(__EMSCRIPTEN__)
if (with_flecs_rest) ecs_singleton_set(kr_world, EcsRest, {0});
#endif
ECS_IMPORT(kr_world, ComponentsInput);
Expand Down

0 comments on commit 817471f

Please sign in to comment.