mirror of
https://github.com/diamante0018/BlackOpsPlugin.git
synced 2025-04-21 18:55:42 +00:00
Remove this
This commit is contained in:
parent
d20cdfbb41
commit
68c28ce1c1
@ -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;
|
||||
|
@ -19,7 +19,6 @@ public:
|
||||
|
||||
T* get() const {
|
||||
if (environment::t5mp()) {
|
||||
|
||||
return t5mp_;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user