Remove log debug text

This commit is contained in:
Grinch_ 2021-03-08 18:09:50 +06:00
parent a2b7561933
commit 1ec2899450
2 changed files with 3 additions and 3 deletions

View File

@ -114,14 +114,14 @@ void Animation::PlayAnimation(std::string& ifp, std::string& anim, std::string&
void Animation::RemoveAnimation(std::string& ifp, std::string& anim, std::string& ifp_repeat) void Animation::RemoveAnimation(std::string& ifp, std::string& anim, std::string& ifp_repeat)
{ {
flog << ifp << std::endl;
if (ifp == "Custom") if (ifp == "Custom")
{ {
json.data["Custom"].erase(anim); json.data["Custom"].erase(anim);
json.WriteToDisk(); json.WriteToDisk();
CHud::SetHelpMessage("Animation removed", false, false, false); CHud::SetHelpMessage("Animation removed", false, false, false);
} }
else CHud::SetHelpMessage("You can only remove custom anims", false, false, false); else
CHud::SetHelpMessage("You can only remove custom anims", false, false, false);
} }

View File

@ -1,5 +1,5 @@
#pragma once #pragma once
#define MENU_NAME "Cheat Menu" #define MENU_NAME "Cheat Menu"
#define MENU_VERSION "2.6-beta" #define MENU_VERSION "2.6-beta"
#define BUILD_NUMBER "20210303" #define BUILD_NUMBER "20210308"
#define MENU_TITLE MENU_NAME " v" MENU_VERSION "(" BUILD_NUMBER ")" #define MENU_TITLE MENU_NAME " v" MENU_VERSION "(" BUILD_NUMBER ")"