Small Godot Wild Jam game
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix crash relating to dev console

+5 -4
+5 -4
addons/gameconsole/console/console/command_enter.gd
··· 55 55 return 56 56 _index = clampi(_index, 0, _current_history.size() -1) 57 57 var selection = _current_history.size() - 1 - _index 58 - text = _current_history[selection] 58 + if !_current_history.is_empty(): 59 + text = _current_history[selection] 59 60 60 - text_changed.emit(text) 61 - caret_column = text.length() 62 - get_tree().get_root().set_input_as_handled() 61 + text_changed.emit(text) 62 + caret_column = text.length() 63 + get_tree().get_root().set_input_as_handled() 63 64 64 65 func autocomplete_accepted(autocomplete_text: String): 65 66 text = autocomplete_text