Skip to content

Commit

Permalink
Merge pull request CleverRaven#39807 from CleverRaven/kevingranade-fi…
Browse files Browse the repository at this point in the history
…nger-lighter-not-flamethrower

Only start fire with finger lighter
  • Loading branch information
ZhilkinSerg authored Apr 22, 2020
2 parents 7e8cc47 + 56a93e1 commit 47bc012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/iexamine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2725,7 +2725,7 @@ void iexamine::fireplace( player &p, const tripoint &examp )
return;
}
case 2: {
if( g->m.add_field( examp, fd_fire, 1 ) ) {
if( !g->m.get_field( examp, fd_fire ) && g->m.add_field( examp, fd_fire, 1 ) ) {
p.mod_power_level( -bio_lighter->power_activate );
p.mod_moves( -to_moves<int>( 1_seconds ) );
} else {
Expand Down

0 comments on commit 47bc012

Please sign in to comment.