1
0
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:
2023-04-13 16:46:27 +02:00
parent 29ed8ec5eb
commit 121da642b7

View File

@@ -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)