Lux-Vacuos / Voxel

Sandbox survival game created with Light Engine (Development halted due to other projects)
https://luxvacuos.net/projects
GNU General Public License v3.0
21 stars 6 forks source link

Keyboard HandleInput #85

Closed Guerra24 closed 8 years ago

Guerra24 commented 8 years ago

Writing text in one state and then switching to other breaks the input and can't write anymore.

jlitewski commented 8 years ago

What exactly were you doing that caused this? Plus, did you KeyboardHandler.enableTextInput() when you switched to the state that needed input (like this)?

Guerra24 commented 8 years ago

I written an ip in the Multiplayer state and then switched to the CreateWorld state and can't write text, this happened in both ways. I think that the bug is related to KeyboardHandler.enableTextInput() only called in the constructor, not the start function.

jlitewski commented 8 years ago

Commit 516bce3 fixes this issue. Thanks for catching that!