2025/11/30 Update

Updated for NWN:EE 37-17
Updated NWNxEE libraries.
Updated nim tooling
Updated PEPs
Associated new GUI module event script.
Full compile.
This commit is contained in:
Jaysyn904
2025-12-01 00:00:34 -05:00
parent 4d7b173526
commit d0a4ee6f1f
540 changed files with 62740 additions and 60703 deletions

View File

@@ -306,7 +306,7 @@ int Array_Find_Str(string tag, string element, object obj=OBJECT_INVALID)
// Just create it before trying to select in case it doesn't exist yet.
CreateArrayTable(tag, obj);
stmt = "SELECT IFNULL(PRCMin(ind),@invalid_index) FROM "+GetTableName(tag, obj)+" WHERE value = @element";
stmt = "SELECT IFNULL(MIN(ind),@invalid_index) FROM "+GetTableName(tag, obj)+" WHERE value = @element";
sqlQuery = SqlPrepareQueryObject(GetModule(), stmt);
SqlBindInt(sqlQuery, "@invalid_index", INVALID_INDEX);