mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Fixes the issues with the database that have been forcing us to have #10823 test-merged for half a year (#15061)
* Don't try to make a query on a client that doesn't exist * If this is actually why it's been shitting the bed, I swear to god
This commit is contained in:
@@ -49,5 +49,5 @@
|
||||
min_val = 1
|
||||
|
||||
/datum/config_entry/number/max_concurrent_queries
|
||||
config_entry_value = 25
|
||||
default = 25
|
||||
min_val = 1
|
||||
|
||||
@@ -228,6 +228,9 @@
|
||||
* Shows the player a list of current polls, if any.
|
||||
*/
|
||||
/mob/dead/new_player/proc/playerpolls()
|
||||
if(!usr || !client)
|
||||
return
|
||||
|
||||
var/output
|
||||
if (!SSdbcore.Connect())
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user