diff --git a/code/game/src/debug_ui_actions.c b/code/game/src/debug_ui_actions.c index 130abc4..dd41767 100644 --- a/code/game/src/debug_ui_actions.c +++ b/code/game/src/debug_ui_actions.c @@ -121,6 +121,7 @@ ActReplayLoad(void) { ChangeDirectory(workdir); if (path) { + zpl_zero_size(replay_filename, sizeof(replay_filename)); zpl_strcpy(replay_filename, path); debug_replay_clear(); debug_replay_load();