From dd11307d855b7980d2579a40bdd1719742908bcf Mon Sep 17 00:00:00 2001 From: RenechCDDA <84619419+RenechCDDA@users.noreply.github.com> Date: Tue, 2 May 2023 01:21:20 -0400 Subject: [PATCH] check id of inserted items against corpse list to prevent their use --- src/iexamine.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/iexamine.cpp b/src/iexamine.cpp index 5ad3be8ca19ba..b18d7570a8479 100644 --- a/src/iexamine.cpp +++ b/src/iexamine.cpp @@ -3000,7 +3000,8 @@ void iexamine::digester_empty( Character &you, const tripoint &examp ) add_msg( _( "This digester already finished producing methane." ) ); add_msg( _( "Remove it before starting the process again." ) ); return; - } else if( i.made_of_any( methanable ) ) { + } else if( i.made_of_any( methanable ) && + !item_group::group_contains_item( Item_spawn_data_corpses_all, i.typeId() ) ) { fuel_present = true; } else { add_msg( m_bad, _( "This digester contains %s, which can't be used to produce methane!" ),