Skip to content

Commit

Permalink
actually just remove the animation altogether
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool committed Jan 13, 2025
1 parent 39b5582 commit f1bf2b6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions loader/src/ui/mods/list/ModList.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include "../popups/SortPopup.hpp"
#include "../GeodeStyle.hpp"
#include "../ModsLayer.hpp"
#include "../events/EventWinnerAnimation.hpp"

static size_t getDisplayPageSize(ModListSource* src, ModListDisplay display) {
if (src->isLocalModsOnly() && Mod::get()->template getSettingValue<bool>("infinite-local-mods-list")) {
Expand Down Expand Up @@ -265,11 +264,6 @@ bool ModList::init(ModListSource* src, CCSize const& size) {
auto src = typeinfo_cast<ServerModListSource*>(m_source);
src && src->getType() == ServerModListType::Modtober24
) {
// todo: generic system for this for any contest event
if (!Mod::get()->setSavedValue("shown-modtober-winner", true)) {
CCScene::get()->addChild(EventWinnerAnimation::create());
}

auto menu = CCMenu::create();
menu->setID("modtober-banner");
menu->ignoreAnchorPointForPosition(false);
Expand Down

0 comments on commit f1bf2b6

Please sign in to comment.