Skip to content

Commit

Permalink
remove the field tests
Browse files Browse the repository at this point in the history
  • Loading branch information
altalk23 committed Oct 1, 2023
1 parent 90d55d0 commit c950787
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions loader/src/hooks/LoadingLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,24 +157,3 @@ struct CustomLoadingLayer : Modify<CustomLoadingLayer, LoadingLayer> {
this->updateLoadingBar();
}
};

#include <Geode/modify/PlayLayer.hpp>
struct FieldTest : Modify<FieldTest, PlayLayer> {
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);
}
};

0 comments on commit c950787

Please sign in to comment.