Quote:
Originally Posted by cbk1994
Most likely you're trying to remove things
PHP Code:
for (temp.npc : player.level.npcs) {
npc.destroy();
}
Things like that can cause trouble because they're removing from the array. Similar things happen when removing weapons from players.
|
I'm not even sure what I was trying to do, but I may have been.