mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Trinity SQLTransaction
Ungroups Trinity from AzerothCore when necessary Replaces SQLTransaction by CharacterDatabaseTransaction
This commit is contained in:
@@ -2094,7 +2094,9 @@ namespace LuaGlobalFunctions
|
||||
draft.SetMoney(money);
|
||||
#endif
|
||||
|
||||
#if defined TRINITY || AZEROTHCORE
|
||||
#if defined TRINITY
|
||||
CharacterDatabaseTransaction trans = CharacterDatabase.BeginTransaction();
|
||||
#elif defined AZEROTHCORE
|
||||
SQLTransaction trans = CharacterDatabase.BeginTransaction();
|
||||
#endif
|
||||
uint8 addedItems = 0;
|
||||
|
||||
Reference in New Issue
Block a user