mirror of
https://github.com/Sokomine/locks.git
synced 2024-11-30 11:03:53 +01:00
removed bug which stopped the input field from working
This commit is contained in:
parent
06fb90c119
commit
18adcce247
6
init.lua
6
init.lua
@ -308,10 +308,10 @@ function locks:lock_handle_input( pos, formname, fields, player )
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- is this input the lock is supposed to handle?
|
-- is this input the lock is supposed to handle?
|
||||||
if( not( fields.locks_sent_lock_command )
|
if( ( not( fields.locks_sent_lock_command )
|
||||||
or (fields.quit and (fields.quit==true or fields.quit=='true'))
|
or fields.locks_sent_lock_command == "" )
|
||||||
|
and (fields.quit and (fields.quit==true or fields.quit=='true'))) then
|
||||||
-- or not( fields.locks_sent_input )
|
-- or not( fields.locks_sent_input )
|
||||||
or fields.locks_sent_lock_command == "" ) then
|
|
||||||
return;
|
return;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user