something something skin texture revert. oh and oh fuck shit passkeys works again.

This commit is contained in:
Letter N
2020-08-22 15:07:02 +08:00
parent 08120ae8b9
commit 317480a3e7
9 changed files with 137 additions and 210 deletions
+9 -3
View File
@@ -267,6 +267,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
else
prefs = new /datum/preferences(src)
GLOB.preferences_datums[ckey] = prefs
addtimer(CALLBACK(src, .proc/ensure_keys_set), 0) //prevents possible race conditions
prefs.last_ip = address //these are gonna be used for banning
prefs.last_id = computer_id //these are gonna be used for banning
@@ -334,9 +335,9 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
qdel(src)
return
if(SSinput.initialized)
set_macros()
update_movement_keys()
// if(SSinput.initialized) placed here on tg.
// set_macros()
// update_movement_keys()
// Initialize tgui panel
tgui_panel.initialize()
@@ -474,6 +475,11 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
// fit_viewport()
Master.UpdateTickRate()
/client/proc/ensure_keys_set()
if(SSinput.initialized)
set_macros()
update_movement_keys(prefs)
//////////////
//DISCONNECT//
//////////////