If you shot a sphere onto any sphere train already on the board, and pause and exit the game right after the shot sphere hits the train, you would crash the game upon trying to load a level state in such a way.
In ShotSphere.lua, in serialize() function, you can find this piece of code:
hitSphere = {
pathID = 1,
chainID = 2,
groupID = 1,
sphereID = 8
}, -- TODO: add an indexation function in Sphere.lua to resolve this problem
This is a placeholder, and should certainly not be there. Replacing this with a proper working indexation code should resolve this issue.
If you shot a sphere onto any sphere train already on the board, and pause and exit the game right after the shot sphere hits the train, you would crash the game upon trying to load a level state in such a way.
In
ShotSphere.lua
, inserialize()
function, you can find this piece of code:This is a placeholder, and should certainly not be there. Replacing this with a proper working indexation code should resolve this issue.