From 4c5fbcd677ff9bd3c741e1e94947856df1cd09d8 Mon Sep 17 00:00:00 2001 From: 8dcc <8dcc.git@gmail.com> Date: Fri, 21 Jul 2023 13:58:47 +0200 Subject: [PATCH] Add todo comment to unload() --- src/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 1da192f..dd9fa38 100644 --- a/src/main.c +++ b/src/main.c @@ -45,8 +45,11 @@ __attribute__((constructor)) void load(void) { } __attribute__((destructor)) void unload() { - if (loaded) + if (loaded) { + /* TODO: Remove our cvars */ + globals_restore(); + } printf("hl-cheat unloaded.\n\n"); }