Due to a bug in the game, if players put map markers on the map, it messes up with entitiesAt/allEntitiesAt functions that most scripts use. So no crashes, but scripts stop working correctly because they think objects that are in the dungeon aren't there.Eleven Warrior wrote:Hi
At the risk of sounding Stupid (lol) does this mean that if a player puts a maker on the map the game wont crash??
EDIT: If I add this Code to my mod now would it affect it Eg: Crash it?
This fixes the problem, but you have to replace every call to the default functions by a call to those functions in every script entity, every .lua file, everywhere. The only clean way to do that is to do a find/replace in all files in your entire mod directory (backup first!!!!!) using something like notepad++. Even then, you must be careful to make the search to match case, and whole words only.