mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +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
|
end
|
||||||
|
|
||||||
function on_history_down()
|
function on_history_down()
|
||||||
if history_pointer == #history-1 then
|
if history_pointer >= #history-1 then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
history_pointer = history_pointer + 1
|
history_pointer = history_pointer + 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue