So basically I created some code which works entirely fine in my JNGP.
It uses a public destroy method inside a struct and at the end I put: this.deallocate().
Now when I send this code to a friend of mine who has the exact same version of JNGP (latest) it seems that he's getting the following syntax error:
s__GrappleChain_deallocate(this)
I have no idea why this happens nor does he.
EDIT:
Again, sorry for wasting your time I fixed it already :/
It seems like I forgot to call the deallocation.
For some reason this.deallocate() worked for me but for my friend it had to be call this.deallocate()
It uses a public destroy method inside a struct and at the end I put: this.deallocate().
Now when I send this code to a friend of mine who has the exact same version of JNGP (latest) it seems that he's getting the following syntax error:
s__GrappleChain_deallocate(this)
I have no idea why this happens nor does he.
EDIT:
Again, sorry for wasting your time I fixed it already :/
It seems like I forgot to call the deallocation.
For some reason this.deallocate() worked for me but for my friend it had to be call this.deallocate()