From 1e87a9cf96be5d1c70d2a70165fd6bf1529b4ba3 Mon Sep 17 00:00:00 2001 From: RenechCDDA <84619419+RenechCDDA@users.noreply.github.com> Date: Fri, 18 Oct 2024 23:11:03 -0400 Subject: [PATCH] No repeatedly lighting fires on same tile --- src/bionics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bionics.cpp b/src/bionics.cpp index a9aaec6172e5f..f08c501aa3cd2 100644 --- a/src/bionics.cpp +++ b/src/bionics.cpp @@ -928,7 +928,7 @@ bool Character::activate_bionic( bionic &bio, bool eff_only, bool *close_bionics add_msg_if_player( m_info, _( "You can now run faster, assisted by joint servomotors." ) ); } else if( bio.id == bio_lighter ) { const std::optional pnt = choose_adjacent( _( "Start a fire where?" ) ); - if( pnt && here.is_flammable( *pnt ) ) { + if( pnt && here.is_flammable( *pnt ) && !here.get_field( *pnt, fd_fire ) ) { add_msg_activate(); here.add_field( *pnt, fd_fire, 1 ); if( has_trait( trait_PYROMANIA ) ) {