Skip to content

Commit

Permalink
Only start fire with finger lighter
Browse files Browse the repository at this point in the history
  • Loading branch information
kevingranade authored Apr 22, 2020
1 parent b7e4ed1 commit 56a93e1
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 56a93e1

Please sign in to comment.