mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix doc/**/user-input.md
This commit is contained in:
parent
50a388c539
commit
cba06c18ad
2 changed files with 4 additions and 4 deletions
|
|
@ -70,7 +70,7 @@ Checks input activity using a code consisting of:
|
|||
|
||||
Example:
|
||||
```lua
|
||||
if (input.is_pressed("key:enter") {
|
||||
if input.is_pressed("key:enter") then
|
||||
...
|
||||
}
|
||||
end
|
||||
```
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ input.is_pressed(code: str) -> bool
|
|||
|
||||
Пример:
|
||||
```lua
|
||||
if (input.is_pressed("key:enter") {
|
||||
if input.is_pressed("key:enter") then
|
||||
...
|
||||
}
|
||||
end
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue