From e12ddb43f6ed6f87fdd8da38557412fc8b40f4e1 Mon Sep 17 00:00:00 2001
From: Isaac Freund <ifreund@ifreund.xyz>
Date: Thu, 7 May 2020 20:49:36 +0200
Subject: [PATCH] Fix typo causing thief mode bug

Fixes https://github.com/CleverRaven/Cataclysm-DDA/issues/40231
---
 src/activity_actor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/activity_actor.cpp b/src/activity_actor.cpp
index 2d7eb1c20b62c..1a5307def007d 100644
--- a/src/activity_actor.cpp
+++ b/src/activity_actor.cpp
@@ -487,7 +487,7 @@ void pickup_activity_actor::do_turn( player_activity &, Character &who )
         who.cancel_activity();
 
         if( who.get_value( "THIEF_MODE_KEEP" ) != "YES" ) {
-            who.set_value( "THIEF_MODE", "THIF_ASK" );
+            who.set_value( "THIEF_MODE", "THIEF_ASK" );
         }
 
         if( !keep_going ) {