Skip to content

Commit

Permalink
Autobuy converted to new plugin API, build issues with String casting…
Browse files Browse the repository at this point in the history
… need to be addressed.
  • Loading branch information
MrNen committed Jul 25, 2023
1 parent 15efb94 commit 55f3cc0
Show file tree
Hide file tree
Showing 6 changed files with 571 additions and 550 deletions.
2 changes: 1 addition & 1 deletion plugins/arena/Arena.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ namespace Plugins
void Arena::ClearClientInfo(ClientId& client) { transferFlags[client] = ClientState::None; }

/// Load the configuration
void Arena::LoadSettings() {}
void Arena::LoadSettings() { config = Serializer::LoadFromJson<Config>(L"config/arena.json"); }

/** @ingroup Arena
* @brief Returns true if the client is docked, returns false otherwise.
Expand Down
2 changes: 0 additions & 2 deletions plugins/arena/Arena.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ namespace Plugins
std::string targetBase;
std::string targetSystem;
std::string restrictedSystem;


};
std::unique_ptr<Config> config;
// Non-reflectable fields
Expand Down
Loading

0 comments on commit 55f3cc0

Please sign in to comment.