mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-07-20 04:02:57 +01:00
fixes client fps not initializing and sets default to 60
This commit is contained in:
@@ -277,7 +277,6 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
|
||||
/datum/preferences/New(client/C)
|
||||
parent = C
|
||||
clientfps = world.fps*2
|
||||
for(var/custom_name_id in GLOB.preferences_custom_names)
|
||||
custom_names[custom_name_id] = get_default_name(custom_name_id)
|
||||
|
||||
|
||||
@@ -57,7 +57,9 @@
|
||||
var/datum/callback/CB = foo
|
||||
CB.Invoke()
|
||||
|
||||
mind?.hide_ckey = client?.prefs?.hide_ckey
|
||||
if(client.prefs)
|
||||
mind?.hide_ckey = client.prefs.hide_ckey
|
||||
client.fps = client.prefs.clientfps
|
||||
log_message("Client [key_name(src)] has taken ownership of mob [src]([src.type])", LOG_OWNERSHIP)
|
||||
SEND_SIGNAL(src, COMSIG_MOB_CLIENT_LOGIN, client)
|
||||
client.init_verbs()
|
||||
|
||||
Reference in New Issue
Block a user