mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
Fixes a few runtimes
This commit is contained in:
@@ -221,7 +221,10 @@ Any-Mode: (hotkey doesn't need to be on)
|
||||
set name = "Set Hotkey Mode"
|
||||
set category = "Preferences"
|
||||
|
||||
hotkeytype = input("Choose hotkey mode", "Hotkey mode") as null|anything in hotkeylist//ask the user for the hotkey type
|
||||
var/hkt = input("Choose hotkey mode", "Hotkey mode") as null|anything in hotkeylist//ask the user for the hotkey type
|
||||
if(!hkt)
|
||||
return
|
||||
hotkeytype = hkt
|
||||
|
||||
var/hotkeys = hotkeylist[hotkeytype]//get the list containing the hotkey names
|
||||
var/hotkeyname = hotkeys[hotkeyon ? "on" : "off"]//get the name of the hotkey, to not clutter winset() to much
|
||||
|
||||
Reference in New Issue
Block a user