Page 1 of 1

Creating a variable called "type" breaks world saving

Posted: Sun Mar 17, 2019 3:18 am
by AlienX
Hi devs,
So I stumbled across a strange bug, if i run the following code in-game the game can no longer save.

Code: Select all

/c type="hello"
Originally i was saving the type of a entity on the players cursor to a temp var, called type.

Code: Select all

/c type=game.player.selected.name
Just a heads up.

Re: Creating a variable called "type" breaks world saving

Posted: Wed Mar 27, 2019 9:39 am
by Klonan
Yea, That is because type is used for serpent to serialize the script data,
I would say, just don't do that