Adds a client FPS setting

This commit is contained in:
Arokha Sieyes
2018-05-07 23:36:47 -04:00
parent 09b620b5d4
commit fe5633e3d8
4 changed files with 23 additions and 1 deletions
+5
View File
@@ -34,6 +34,11 @@
if(hud_used) qdel(hud_used) //remove the hud objects
hud_used = new /datum/hud(src)
if(client.prefs && client.prefs.client_fps)
client.fps = client.prefs.client_fps
else
client.fps = 0 // Results in using the server FPS
next_move = 1
disconnect_time = null //clear the disconnect time
sight |= SEE_SELF