Remove redundant winset

This commit is contained in:
Markolie
2015-09-30 01:39:37 +02:00
parent 3c0931ba7d
commit 12abe7ae24
-2
View File
@@ -204,10 +204,8 @@ Any-Mode: (hotkey doesn't need to be on)
if(hotkeyon)//using an if statement because I don't want to clutter winset() with ? operators
winset(usr, "mainwindow.hotkey_toggle", "is-checked=true")//checks the button
winset(usr, "mapwindow.map", "focus=true")//sets mapwindow focus
else
winset(usr, "mainwindow.hotkey_toggle", "is-checked=false")//unchecks the button
winset(usr, "mainwindow.input", "focus=true")//sets focus
if(mob)
mob.update_interface()