diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 68c9809..fbd472a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,7 +63,7 @@ jobs: - uses: actions/checkout@v1 - name: Configuring CMake - run: make cnofigure + run: make configure - name: Building run: make build diff --git a/src/game/states/gameplay.c b/src/game/states/gameplay.c index ef66dd3..10cd77c 100644 --- a/src/game/states/gameplay.c +++ b/src/game/states/gameplay.c @@ -137,8 +137,8 @@ static void _gameplay_state_exit(game_state_t* state, game_t* game) { kv_destroy(gameplay->pipes); kv_init(gameplay->pipes); + // memset(gameplay, 0, sizeof(*gameplay)); free(state->data); - memset(gameplay, 0, sizeof(*gameplay)); } game_state_t gameplay_state_create() {