Skip to content

Commit

Permalink
Spawn beartrap on throwing rocks
Browse files Browse the repository at this point in the history
  • Loading branch information
Night-Pryanik committed Sep 18, 2024
1 parent 94cc253 commit eb5c0d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/trapfunc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ bool trapfunc::beartrap( const tripoint &p, Creature *c, item * )
}
}
c->check_dead_state();
} else {
here.spawn_item( p, "beartrap" );
}

return true;
Expand Down

0 comments on commit eb5c0d9

Please sign in to comment.