Migrate tradeskills and traps [skip ci]

This commit is contained in:
Akkadius
2020-03-11 03:41:09 -05:00
parent df66c75df2
commit f5cba5ecab
5 changed files with 15 additions and 12 deletions
+2 -2
View File
@@ -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");
}