Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Crashed in a fight:

Error

attack.lua:45: attempt to perform arithmetic on field 'time' (a nil value)

Traceback

attack.lua:45: in function 'update-callback'
action.lua:14: in function 'update'
ctrl.lua:224: in function 'update'
pfbs.lua:325: in function 'update'
game.lua:220: in function 'update'
[C]: in function 'xpcall'

(2 edits)

Thanks, yeah there were going to be two endings, but I ran out of time to implement the second.


I'll take a look at that crash tonight, It has to do with the way I handle timing when I create weapon hitboxes.

Did the error happen when you were fighting the boss, or one of the other NPCs?