diff --git a/BigBaseV2/src/core/globals.hpp b/BigBaseV2/src/core/globals.hpp index a3cc1007..f2636887 100644 --- a/BigBaseV2/src/core/globals.hpp +++ b/BigBaseV2/src/core/globals.hpp @@ -46,6 +46,9 @@ struct globals { this->vehicle.speedo_meter = (SpeedoMeter)j["vehicle"]["speedo_meter"]; this->weapons.custom_weapon = (CustomWeapon)j["weapons"]["custom_weapon"]; + + this->window.log = j["window"]["log"]; + this->window.main = j["window"]["main"]; } nlohmann::json to_json() @@ -68,6 +71,12 @@ struct globals { "weapons", { { "custom_weapon", (int)this->weapons.custom_weapon } } + }, + { + "window", { + { "log", this->window.log }, + { "main", this->window.main } + } } }; }