Added missing protocol versions & made some style fixes.
This commit is contained in:
parent
153cf3e859
commit
a52c938fef
|
@ -28,6 +28,10 @@ function UIComboBox:getOption(text)
|
|||
end
|
||||
end
|
||||
|
||||
function UIComboBox:setOption(text, dontSignal)
|
||||
self:setCurrentOption(text, dontSignal)
|
||||
end
|
||||
|
||||
function UIComboBox:setCurrentOption(text, dontSignal)
|
||||
if not self.options then return end
|
||||
for i,v in ipairs(self.options) do
|
||||
|
|
|
@ -433,7 +433,11 @@ function addMenuHook(category, name, callback, condition, shortcut)
|
|||
end
|
||||
|
||||
function removeMenuHook(category, name)
|
||||
hookedMenuOptions[category][name] = nil
|
||||
if not name then
|
||||
hookedMenuOptions[category] = {}
|
||||
else
|
||||
hookedMenuOptions[category][name] = nil
|
||||
end
|
||||
end
|
||||
|
||||
function createThingMenu(menuPosition, lookThing, useThing, creatureThing)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
CountWindow < MainWindow
|
||||
id: countWindow
|
||||
!text: tr('Move Stackable Item')
|
||||
size: 196 80
|
||||
size: 196 90
|
||||
|
||||
SpinBox
|
||||
id: spinBox
|
||||
|
|
|
@ -48,18 +48,25 @@ end
|
|||
|
||||
function g_game.getSupportedClients()
|
||||
return {
|
||||
740, 760, 770, 772,
|
||||
740, 741, 750, 760, 770, 772,
|
||||
780, 781, 782, 790, 792,
|
||||
|
||||
800, 810, 811, 840, 842, 850,
|
||||
853, 854, 860, 861, 862, 870,
|
||||
800, 810, 811, 820, 821, 822,
|
||||
830, 831, 840, 842, 850, 853,
|
||||
854, 855, 857, 860, 861, 862,
|
||||
870, 871,
|
||||
|
||||
910, 940, 944, 953, 954, 960, 961,
|
||||
963, 970, 972, 973, 980, 981, 982,
|
||||
983, 984, 985, 986,
|
||||
900, 910, 920, 931, 940, 943,
|
||||
944, 951, 952, 953, 954, 960,
|
||||
961, 963, 970, 971, 972, 973,
|
||||
980, 981, 982, 983, 984, 985,
|
||||
986,
|
||||
|
||||
1001, 1002, 1010, 1020, 1021, 1022, 1031,
|
||||
1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041
|
||||
1000, 1001, 1002, 1010, 1011,
|
||||
1012, 1013, 1020, 1021, 1022,
|
||||
1030, 1031, 1032, 1033, 1034,
|
||||
1035, 1036, 1037, 1038, 1039,
|
||||
1040, 1041
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue