mirror of
https://github.com/alicealys/t5-gsc-utils.git
synced 2026-08-01 04:30:37 +00:00
Set filesystem current path to fs_basegame
This commit is contained in:
@@ -15,6 +15,9 @@ namespace io
|
||||
public:
|
||||
void post_unpack() override
|
||||
{
|
||||
const auto fs_basegame = game::Dvar_FindVar("fs_basegame");
|
||||
std::filesystem::current_path(fs_basegame->current.string);
|
||||
|
||||
gsc::function::add_multiple([](const std::string& file, const std::string& data,
|
||||
const scripting::variadic_args& va)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user