mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
bug fix
До этих изменений, при попытке пролистать консоль вниз если консоль была пуста, выводилась ошибка
This commit is contained in:
parent
84ba063908
commit
bf429bdfd9
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ function on_history_up()
|
|||
end
|
||||
|
||||
function on_history_down()
|
||||
if history_pointer == #history-1 then
|
||||
if history_pointer >= #history-1 then
|
||||
return
|
||||
end
|
||||
history_pointer = history_pointer + 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue