mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-13 16:13:19 +01:00
Merge pull request #4615 from Krausus/DBConnSpamFix
Fixes Excessive Database Reconnections
This commit is contained in:
@@ -316,7 +316,7 @@
|
||||
send_resources()
|
||||
|
||||
if(prefs.lastchangelog != changelog_hash) //bolds the changelog button on the interface so we know there are updates. -CP
|
||||
if(!setup_database_connection())
|
||||
if(!establish_db_connection())
|
||||
return // if we have db problems, don't show anything
|
||||
winset(src, "rpane.changelog", "background-color=#f4aa94;font-style=bold")
|
||||
to_chat(src, "<span class='info'>Changelog has changed since your last visit.</span>")
|
||||
|
||||
Reference in New Issue
Block a user