Fixes Databaseless Operation Runtime

This commit is contained in:
Fox-McCloud
2016-06-12 03:53:26 -04:00
parent 3b40bdf2b8
commit b2040467bd
+3 -4
View File
@@ -316,10 +316,9 @@
send_resources()
if(prefs.lastchangelog != changelog_hash) //bolds the changelog button on the interface so we know there are updates. -CP
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>")
if(establish_db_connection())
winset(src, "rpane.changelog", "background-color=#f4aa94;font-style=bold")
to_chat(src, "<span class='info'>Changelog has changed since your last visit.</span>")
if(!void)
void = new()