Mouse clicks not working after loading Autosave file

Started by Rik_Vargard, Tue 20/02/2024 14:25:37

Previous topic - Next topic

Rik_Vargard

Hi, I'm trying to implement an autosave to my game, and as far as I know it works with this line of code:

SaveGameSlot(99, "AutoSave");

But when I load the Autosave, the mouse buttons don't work anymore, right or left click are "inactive".
And also, sometimes the player character isn't there anymore.

Any ideas?

Thx!

Rik_Vargard

Oh I'm sorry nevermind:

The code has to be in the room_AfterFadeIn() function.

I put it in the room_load one  :P

SMF spam blocked by CleanTalk