[0.9.8] attempt to index field 'character' (a nil value)
Posted: Sat May 03, 2014 2:37 pm
Right when I died I got this error. This is the first time I got it and I've died several times before. Looks like a multithreading issue.
Here's the relevant part of control.lua.
Code: Select all
Notice
Error 2 while running the event handler:
.../factorio/saves/mission_new_beginning_1.zip|control.lua:279: attempt to index field 'character' (a nil value)
Code: Select all
storytable =
{
{
[...]
{
condition = function() return game.player.character.getitemcount("small-plane") >= 1 end, // Line 279
}
[...]
}
}