Remove this

This commit is contained in:
6arelyFuture 2022-04-18 12:38:04 +02:00
parent d20cdfbb41
commit 68c28ce1c1
Signed by: Future
GPG Key ID: FA77F074E98D98A5
2 changed files with 0 additions and 4 deletions

View File

@ -14,9 +14,6 @@ utils::hook::detour sv_bot_name_random_hook;
// Json file is expected to contain a key for the bot's name. Value should be a
// string for the clantag
void load_bot_data() {
const auto* path = game::Dvar_FindVar("fs_homepath")->current.string;
std::filesystem::current_path(path);
if (!utils::io::file_exists("bots/bots.json")) {
game::Com_Printf(game::CON_CHANNEL_SERVER, "bots.json was not found\n");
return;

View File

@ -19,7 +19,6 @@ public:
T* get() const {
if (environment::t5mp()) {
return t5mp_;
}