mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 12:37:26 +01:00
Remove redundant winset
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user