diff --git a/loader/src/hooks/LoadingLayer.cpp b/loader/src/hooks/LoadingLayer.cpp index c8d246809..93e82f077 100644 --- a/loader/src/hooks/LoadingLayer.cpp +++ b/loader/src/hooks/LoadingLayer.cpp @@ -157,24 +157,3 @@ struct CustomLoadingLayer : Modify { this->updateLoadingBar(); } }; - -#include -struct FieldTest : Modify { - int field = 0x10101010; - - bool init(GJGameLevel* level) { - if (!PlayLayer::init(level)) return false; - log::debug("GameManager 1 {}", GameManager::sharedState()); - log::debug("PlayLayer 1 {}", PlayLayer::get()); - m_fields->field += 0x20202020; - log::debug("GameManager 2 {}", GameManager::sharedState()); - log::debug("PlayLayer 2 {}", PlayLayer::get()); - return true; - } - - void update(float dt) { - log::debug("GameManager {}", GameManager::sharedState()); - log::debug("PlayLayer {}", PlayLayer::get()); - PlayLayer::update(dt); - } -}; \ No newline at end of file