mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-25 06:57:28 +00:00
fix incorrect script grab for trigger
This commit is contained in:
parent
e76996f98f
commit
946b59f02f
@ -183,7 +183,7 @@ std::vector<Entity*> TriggerComponent::GatherTargets(LUTriggers::Command* comman
|
|||||||
}
|
}
|
||||||
|
|
||||||
void TriggerComponent::HandleFireEvent(Entity* targetEntity, std::string args) {
|
void TriggerComponent::HandleFireEvent(Entity* targetEntity, std::string args) {
|
||||||
m_Parent->GetScript()->OnFireEventServerSide(targetEntity, m_Parent, args, 0, 0, 0);
|
targetEntity->GetScript()->OnFireEventServerSide(targetEntity, m_Parent, args, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void TriggerComponent::HandleDestroyObject(Entity* targetEntity, std::string args){
|
void TriggerComponent::HandleDestroyObject(Entity* targetEntity, std::string args){
|
||||||
|
Loading…
Reference in New Issue
Block a user