Sorry, I tend not to think of the civlua file as part of the TOTPP, because I can change it. All I meant was that we can change the file in question to fix the bug, so we don't need to wish for the source code of the TOTPP (though I would like to have it). I wasn't thinking in terms of Github being a place for a consistent link even if stuff is updated, which is silly, since I have used Github for that purpose with my own lua projects. I'll blame the fact that I wanted to write a response before leaving for work...
There is some merit to providing an alternate download with the updated civlua.lua file, especially since TNO hasn't been back for a couple years. I don't know if a moderator even frequents the Civ II forums regularly. I'm pretty sure this bug only affects the Scifi lua conversion, since the bug manifests whenever that function is called, not just on certain inputs. I never paid much attention to the lua version of the scifi game, and from what I remember, JPetroski at least didn't find it much use to learn from, so maybe no one else looked at it that closely either. And the scifi game is available with regular events anyway.