From a54e7e827e66e5b2f13f9a687c1ab6189ade32de Mon Sep 17 00:00:00 2001 From: bencat07 Date: Sat, 4 May 2019 22:52:12 +0200 Subject: [PATCH] Fix potential Proof of Concept Command crash --- src/hacks/Achievement.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hacks/Achievement.cpp b/src/hacks/Achievement.cpp index 8f238451..a66a8223 100644 --- a/src/hacks/Achievement.cpp +++ b/src/hacks/Achievement.cpp @@ -138,6 +138,7 @@ static Timer cooldowm{}; static CatCommand get_best_hats("achievement_cathats", "Get and equip the bencat hats", []() { static std::vector bencat_hats = { 1902, 1912, 2006 }; unlock_achievements_and_accept(bencat_hats); + hacks::shared::misc::generate_schema(); hacks::shared::misc::Schema_Reload(); equip = true; });