mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-09-07 12:57:55 +00:00
@@ -597,4 +597,11 @@ c5694ea9661c7a40021ebd280c378bd7bdc56988
|
|||||||
|
|
||||||
Merge branch 'mc-1.15.x' into mc-1.16.x
|
Merge branch 'mc-1.15.x' into mc-1.16.x
|
||||||
```
|
```
|
||||||
Update to 1.16.4.
|
Update to 1.16.4.
|
||||||
|
|
||||||
|
```
|
||||||
|
1f84480a80677cfaaf19d319290f5b44635eba47
|
||||||
|
|
||||||
|
Make rightAlt only close menu, never open it. (#672)
|
||||||
|
```
|
||||||
|
Lua changes.
|
@@ -687,7 +687,7 @@ while bRunning do
|
|||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
elseif param == keys.leftCtrl or param == keys.rightCtrl or param == keys.rightAlt then
|
elseif param == keys.leftCtrl or param == keys.rightCtrl then
|
||||||
-- Menu toggle
|
-- Menu toggle
|
||||||
bMenu = not bMenu
|
bMenu = not bMenu
|
||||||
if bMenu then
|
if bMenu then
|
||||||
@@ -696,7 +696,12 @@ while bRunning do
|
|||||||
term.setCursorBlink(true)
|
term.setCursorBlink(true)
|
||||||
end
|
end
|
||||||
redrawMenu()
|
redrawMenu()
|
||||||
|
elseif param == keys.rightAlt then
|
||||||
|
if bMenu then
|
||||||
|
bMenu = false
|
||||||
|
term.setCursorBlink(true)
|
||||||
|
redrawMenu()
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
elseif sEvent == "char" then
|
elseif sEvent == "char" then
|
||||||
|
Reference in New Issue
Block a user