Skip to content

Commit

Permalink
Example Mod fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nomnomab committed May 15, 2019
1 parent df9bdcf commit 9dd343f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 15 deletions.
14 changes: 0 additions & 14 deletions BaseMod/ExampleMod.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,20 +76,6 @@ class ExampleMod : public Mod {

// The setup function is the heart of the mod, where you hook your functions and register your commands and API functions. Do not rename!
void setup() override {
// Configs are horribly broken right now, disabled so the mod can actually load
/*
if (!config.exists()) {
config.set("TestValue", true);
config.save();
}
config.load();
testValue = config.get<bool>("TestValue");
warning("Test Value: ", testValue);
*/


// Use the placeholders namespace
using namespace std::placeholders;

Expand Down
2 changes: 1 addition & 1 deletion Sdk
Submodule Sdk updated from ac78e5 to e0232f

0 comments on commit 9dd343f

Please sign in to comment.