change default coords hud

master
rubin 2 years ago
parent 64bfeaea23
commit bb3faaf137
  1. 7
      corn-hud.lua

@ -32,7 +32,8 @@ function main()
if server == "" then if server == "" then
thisScript():unload() thisScript():unload()
end end
iniName = string.format("cornHUD-%s", server) iniName = string.format("corn-%s", server)
local x1, y1 = convertGameScreenCoordsToWindowScreenCoords(14.992679595947, 274.75)
ini = inicfg.load({ ini = inicfg.load({
['Farm 0'] = { ['Farm 0'] = {
corn = 0, corn = 0,
@ -84,8 +85,8 @@ function main()
Settings = { Settings = {
Key1='VK_RBUTTON', Key1='VK_RBUTTON',
Key2='VK_MENU', Key2='VK_MENU',
X=0, X=x1,
Y=0 Y=y1
}, },
}, iniName) }, iniName)
inicfg.save(ini, iniName) inicfg.save(ini, iniName)

Loading…
Cancel
Save