MCPcopy Create free account
hub / github.com/GlobedGD/globed2 / onModuleInit

Method onModuleInit

src/modules/deathlink/DeathlinkModule.cpp:13–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11DeathlinkModule::DeathlinkModule() = default;
12
13void DeathlinkModule::onModuleInit() {
14 this->setAutoEnableMode(AutoEnableMode::Level);
15}
16
17void DeathlinkModule::onJoinLevel(GlobedGJBGL* gjbgl, GJGameLevel* level, bool editor) {
18 // if deathlink is disabled, disable the module for this level

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected