Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

The underlying issue is as following:

globalvar funcs;
function scr_test() {
	funcs = [scr_test_1];
	var f = funcs[0]; f();
	funcs[0]();
	global.funcs[0]();
}
function scr_test_1() {
	show_debug_message(self);
}

On 2023.11, all three calls will print the contents of the current instance.

On 2024.2, call #2 will print the contents of global instead.

I guess that’s a bug..?

This isn’t too hard to workaround, but I’ll need to figure out all places where I’m calling something from an array.

(+1)

Thanks for this. I will make a report on this to YYG shortly if you haven't already.