Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

IIRC the specific case that’s weird is

function scr_some() {
    live_auto_call;
    static counter = 0;
    static a = function() { counter += 1 }
}

and then doing scr_some.a()

If you can reproduce this in a blank project, please email me a copy and I’ll have a peek

If you don’t want to do anything, I guess you can move the code to a different (non-static) script, but I can’t tell you from the information so far whether that’s actually what’s happening.