mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 05:37:17 +00:00
Migrate tradeskills and traps [skip ci]
This commit is contained in:
1 parent
df66c75df2
commit
f5cba5ecab
5 files changed
+15
-12
No files matched your search
+2
-2
@@ -956,7 +956,7 @@ bool Zone::Init(bool iStaticZone) {
|
||||
}
|
||||
|
||||
LogInfo("Loading traps");
|
||||
if (!database.LoadTraps(short_name, GetInstanceVersion()))
|
||||
if (!content_db.LoadTraps(short_name, GetInstanceVersion()))
|
||||
{
|
||||
LogError("Loading traps failed");
|
||||
return false;
|
||||
@@ -1042,7 +1042,7 @@ void Zone::ReloadStaticData() {
|
||||
|
||||
LogInfo("Reloading traps");
|
||||
entity_list.RemoveAllTraps();
|
||||
if (!database.LoadTraps(GetShortName(), GetInstanceVersion()))
|
||||
if (!content_db.LoadTraps(GetShortName(), GetInstanceVersion()))
|
||||
{
|
||||
LogError("Reloading traps failed");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user