mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 04:22:39 +01:00
SQL loading final bugfix hopefully (#1397)
Continue statement was in a bad place. Also includes a .gitignore update for those using Visual Studio Code.
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
// Set this to 1 if you want to debug the SQL saves.
|
||||
// I got tired as hell from writing these debug lines and deleting them later.
|
||||
#define SQL_PREF_DEBUG 0
|
||||
|
||||
/*
|
||||
* A proc for dynamically loading a character from the database.
|
||||
@@ -103,13 +102,13 @@
|
||||
log_debug("SQL CHARACTER LOAD: SQL query error: [query.ErrorMsg()]")
|
||||
log_debug("SQL CHARACTER LOAD: query args: [json_encode(arg_list)]")
|
||||
|
||||
continue
|
||||
|
||||
#ifdef SQL_PREF_DEBUG
|
||||
else
|
||||
log_debug("SQL CHARACTER LOAD: Successfully executed query: [query_text]")
|
||||
#endif
|
||||
|
||||
continue
|
||||
|
||||
// Each query should only return exactly 1 row.
|
||||
var/list/var_names = query_cache[type][query_text]
|
||||
if (query.NextRow())
|
||||
@@ -258,5 +257,3 @@
|
||||
arg_list |= PI.gather_save_parameters()
|
||||
|
||||
return arg_list
|
||||
|
||||
#undef SQL_PREF_DEBUG
|
||||
|
||||
Reference in New Issue
Block a user