mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-28 15:17:46 +00:00
fix build
This commit is contained in:
parent
342c30aa43
commit
959df68b63
2 changed files with 3 additions and 3 deletions
|
@ -142,7 +142,7 @@ namespace Sapphire
|
|||
PhaseCondition::from_json( json, phase, conditionId );
|
||||
|
||||
auto paramData = json.at( "paramData" );
|
||||
auto actorRef = paramData.at( "sourceActor" );
|
||||
auto actorRef = paramData.at( "sourceActor" ).get< std::string >();
|
||||
|
||||
// resolve the actor whose hp we are checking
|
||||
if( auto it = actors.find( actorRef ); it != actors.end() )
|
||||
|
|
|
@ -432,7 +432,7 @@ namespace Sapphire
|
|||
}
|
||||
else if( pCondition->inProgress() )
|
||||
{
|
||||
pCondition->execute( pFight, time );
|
||||
pCondition->update( pFight, time );
|
||||
}
|
||||
else if( pCondition->isConditionMet( pFight, time ) )
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue