mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-18 11:30:35 +01:00
dbcon IsConnected Runtime Fix (#10676)
* dbcon IsConnected Runtime Fix * Update code/modules/admin/verbs/warning.dm Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com> * Update code/modules/mob/abstract/new_player/menu.dm Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com> * Update code/modules/admin/verbs/warning.dm Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com> Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
This commit is contained in:
@@ -311,8 +311,7 @@
|
||||
var/dcolor = "#ffdddd" //dark colour, severity = 1
|
||||
var/ecolor = "#e3e3e3" //gray colour, expired = 1
|
||||
|
||||
establish_db_connection(dbcon)
|
||||
if (!dbcon.IsConnected())
|
||||
if (!establish_db_connection(dbcon))
|
||||
alert("Connection to the SQL database lost. Aborting. Please alert the database admin!")
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user