overbound / SonicTimeTwisted

Source Code for a Sonic Fan Game Made in Game Maker Studio
https://overboundstudio.com/
GNU General Public License v3.0
58 stars 16 forks source link

Fatal error at event: End Of Path #61

Closed AlexKhayrullin closed 2 years ago

AlexKhayrullin commented 4 years ago

In Tidal Tubes 1, after going very fast for some time, I got this error and the game closed:

___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Other Event: End Of Path
for object objPlayer:

DoSub :2: undefined value
 at gml_Object_objPlayer_EndOfPathEvent_1 (line 7) -     var path_yspeed = ds_list_find_value(ytable, offset)-ds_list_find_value(ytable, offset-1);
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_objPlayer_EndOfPathEvent_1 (line 7)

This seems to be a rare occurrence.