Skip to content

Modifying onDelete on LevelInfoLayer causes crash #345

Description

@Alphalaneous

Geode Issue

  • I confirm that this crash is NOT related to a mod but directly to Geode Loader itself.

Platform

Windows

Geode Version

v1.3.6

Mods Installed

alphalaneous.testondelete.geode (For me to test the issue, all other mods have been moved out of the mods folder)

Steps to Reproduce

Modify LevelInfoLayer::onDelete(CCObject* sender):

#include <Geode/Geode.hpp>
#include <Geode/modify/LevelInfoLayer.hpp>

using namespace geode::prelude;

class $modify(LevelInfoLayer) {
	
    void onDelete(CCObject* sender) {
        LevelInfoLayer::onDelete(sender);
    }
};

Crash Report

2023-11-17_07-01-34.log
Geode 17 Nov 07.01.25.log

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions