paulofmandown / rotLove

Roguelike Toolkit in Love. A Love2D/lua port of rot.js
http://paulofmandown.github.io/rotLove/
Other
258 stars 25 forks source link

TextDisplay getCharacter() returning nil? #57

Closed LJNIC closed 6 years ago

LJNIC commented 6 years ago

When trying to use getCharacter() I get this error, however I don't when using just the Display.

Error: lib/rotLove/rot/textDisplay.lua:110: attempt to index field 'chars' (a nil value) stack traceback: lib/rotLove/rot/textDisplay.lua:110: in function 'getCharacter' main.lua:43: in function

[C]: in function 'xpcall'