diff options
Diffstat (limited to 'src/game/base/ship.cc')
-rw-r--r-- | src/game/base/ship.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc index 08838ad..b046d9d 100644 --- a/src/game/base/ship.cc +++ b/src/game/base/ship.cc @@ -657,7 +657,7 @@ void Ship::hit(core::Entity *other) std::string message("^B"); message.append(owner()->name()); - if (assassin) { + if (assassin) { if (assassin == owner()) { message.append(" ^Bran into his own mine."); } else { @@ -667,6 +667,7 @@ void Ship::hit(core::Entity *other) // asssissin killed a player assassin->set_pvpkills(assassin->pvpkills() + 1); + assassin->set_dirty(); } } else { message.append(" ^Bwent boom."); @@ -678,6 +679,7 @@ void Ship::hit(core::Entity *other) if (assassin) { // assissin killed an NPC assassin->set_npckills(assassin->npckills() + 1); + assassin->set_dirty(); } } } @@ -733,6 +735,7 @@ void Ship::hit(core::Entity *other) // assissin killed an NPC assassin->set_npckills(assassin->npckills() + 1); } + assassin->set_dirty(); } } else { |