Skip to content

Commit 9276564

Browse files
authored
bugfix: Fixing Space in keybinding (#6864)
Fixing the key_map
1 parent 37878f1 commit 9276564

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

code/modules/client/preference/preferences.dm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
714714
var/static/list/pref_toggles_by_category
715715
if(!pref_toggles_by_category)
716716
pref_toggles_by_category = list()
717-
717+
718718
for(var/path in GLOB.preference_toggles)
719719
var/datum/preference_toggle/toggle = GLOB.preference_toggles[path]
720720
pref_toggles_by_category["[toggle.preftoggle_category]"] += list(toggle)
@@ -734,7 +734,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
734734
switch(toggle.preftoggle_toggle)
735735
if(PREFTOGGLE_SPECIAL)
736736
dat += "<td style='width: 20%'><a href='byond://?_src_=prefs;preference=preference_toggles;toggle=[toggle.UID()];'>Adjust</a></td>"
737-
737+
738738
if(PREFTOGGLE_TOGGLE1)
739739
dat += "<td style='width: 20%'><a href='byond://?_src_=prefs;preference=preference_toggles;toggle=[toggle.UID()];'>[(toggles & toggle.preftoggle_bitflag) ? "<span class='good'>Enabled</span>" : "<span class='bad'>Disabled</span>"]</a></td>"
740740

@@ -2663,7 +2663,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
26632663
"DEL" = "Delete",
26642664
"END" = "Southwest",
26652665
"PAGEDOWN" = "Southeast",
2666-
"SPACEBAR" = "Space",
2666+
" " = "Space",
26672667
"ALT" = "Alt",
26682668
"SHIFT" = "Shift",
26692669
"CONTROL" = "Ctrl",

0 commit comments

Comments
 (0)