mirror of
https://github.com/AR2000AR/openComputers_codes.git
synced 2025-09-04 12:45:58 +02:00
[doorCtrl] refactoring
This commit is contained in:
@@ -66,6 +66,7 @@ local function readPassword()
|
||||
event.cancel(event_keyboard)
|
||||
return false
|
||||
end)
|
||||
---@type number
|
||||
event_keyboard = event.listen("key_down", function(self, uuid, char, code, player)
|
||||
if (char == 8) then
|
||||
password = string.sub(password, 1, -2)
|
||||
|
Reference in New Issue
Block a user