mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
Attempts to make movement with high ping easier (#12846)
* first attempts at high ping movement * moved from verb to preference
This commit is contained in:
13
code/modules/migrations/SS13_Prefs/008-add-stumble.dm
Normal file
13
code/modules/migrations/SS13_Prefs/008-add-stumble.dm
Normal file
@@ -0,0 +1,13 @@
|
||||
/datum/migration/sqlite/ss13_prefs/_008
|
||||
id = 8
|
||||
name = "Add Stumble"
|
||||
|
||||
/datum/migration/sqlite/ss13_prefs/_008/up()
|
||||
if(!hasColumn("client","stumble"))
|
||||
return execute("ALTER TABLE `client` ADD COLUMN stumble INTEGER DEFAULT 0")
|
||||
return TRUE
|
||||
|
||||
/datum/migration/sqlite/ss13_prefs/_008/down()
|
||||
if(hasColumn("client","stumble"))
|
||||
return execute("ALTER TABLE `client` DROP COLUMN stumble")
|
||||
return TRUE
|
||||
Reference in New Issue
Block a user