From 127da5ccb8d4936e2c49a234e8a7b4160a4517da Mon Sep 17 00:00:00 2001 From: Dragon Slayer <85514184+DragonSlayer62@users.noreply.github.com> Date: Sat, 18 Jan 2025 13:25:57 -0600 Subject: [PATCH] fix --- source/cChar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/cChar.cpp b/source/cChar.cpp index 3ae819d15..eb70922f6 100644 --- a/source/cChar.cpp +++ b/source/cChar.cpp @@ -4383,7 +4383,7 @@ bool CChar::HandleLine( std::string &UTag, std::string &data ) SetDead(( static_cast( std::stoul( oldstrutil::trim( oldstrutil::removeTrailing( data, "//" )), nullptr, 0 )) == 1 )); rValue = true; } - else if( UTag == "DEFENSECHANCE" ) + else if( UTag == "DEFCHANCE" ) { SetDefenseChance( static_cast( std::stoul( oldstrutil::trim( oldstrutil::removeTrailing( data, "//" )), nullptr, 0 ))); rValue = true;