Sets the default FPS to 63 (#17564)

* default FPS to 63

* SQL updates

* smallint(4)
This commit is contained in:
Charlie
2022-04-05 14:18:12 +01:00
committed by GitHub
parent 3c067e8b2f
commit a81aa191f9
5 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -277,7 +277,7 @@ CREATE TABLE `player` (
`volume_mixer` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`lastchangelog` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
`exp` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`clientfps` smallint(4) DEFAULT '0',
`clientfps` smallint(4) DEFAULT '63',
`atklog` smallint(4) DEFAULT '0',
`fuid` bigint(20) DEFAULT NULL,
`fupdate` smallint(4) DEFAULT '0',
+4
View File
@@ -0,0 +1,4 @@
# Updates DB from 34 to 35 -hal9000PR
# Changes DB default for clientFPS to 63
ALTER TABLE `player` CHANGE COLUMN `clientfps` `clientfps` smallint(4) DEFAULT '63' AFTER `exp`;
+1 -1
View File
@@ -367,7 +367,7 @@
#define INVESTIGATE_BOMB "bombs"
// The SQL version required by this version of the code
#define SQL_VERSION 34
#define SQL_VERSION 35
// Vending machine stuff
#define CAT_NORMAL 1
@@ -72,7 +72,7 @@ GLOBAL_LIST_INIT(special_role_times, list( //minimum age (in days) for accounts
var/sound = SOUND_DEFAULT
var/UI_style_color = "#ffffff"
var/UI_style_alpha = 255
var/clientfps = 0
var/clientfps = 63
var/atklog = ATKLOG_ALL
var/fuid // forum userid
+1 -1
View File
@@ -145,7 +145,7 @@ ipc_screens = [
# Enable/disable the database on a whole
sql_enabled = false
# SQL version. If this is a mismatch, round start will be delayed
sql_version = 34
sql_version = 35
# SQL server address. Can be an IP or DNS name
sql_address = "127.0.0.1"
# SQL server port