Просмотр исходного кода

Fixed NoNearNPC flag (#8487)

Fixes #8471

Thanks to @xVaan
Lemongrass3110 10 месяцев назад
Родитель
Сommit
2206d1a960
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/map/skill.cpp

+ 2 - 2
src/map/skill.cpp

@@ -24142,8 +24142,8 @@ uint64 SkillDatabase::parseBodyNode(const ryml::NodeRef& node) {
 		}
 	}
 
-	if (this->nodeExists(node, "NoNearNpc")) {
-		const auto& npcNode = node["NoNearNpc"];
+	if (this->nodeExists(node, "NoNearNPC")) {
+		const auto& npcNode = node["NoNearNPC"];
 
 		if (this->nodeExists(npcNode, "AdditionalRange")) {
 			uint16 range;