mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-06-11 18:27:44 +00:00
Missing return value fixed
This commit is contained in:
parent
3257734017
commit
921bad031d
1 changed files with 3 additions and 0 deletions
|
@ -515,6 +515,9 @@ bool Sapphire::Action::Action::snapshotAffectedActors( std::vector< Entity::Char
|
|||
player->sendDebug( "hit actor#{}", actor->getId() );
|
||||
}
|
||||
}
|
||||
if( actors.empty() )
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
void Sapphire::Action::Action::addActorFilter( World::Util::ActorFilterPtr filter )
|
||||
|
|
Loading…
Add table
Reference in a new issue