[Quest API] (Performance) Check event EVENT_FEIGN_DEATH exists before export and execute (#2916)

* [Quest API] Optionally parse EVENT_FEIGN_DEATH

# Notes
- Optionally parse this event instead of always doing so.

* Remove unused reference, fix other PR

* Update task_client_state.cpp

---------

Co-authored-by: Akkadius <akkadius1@gmail.com>
This commit is contained in:
Alex KingandAkkadius authored and GitHub committed 2023-02-12 22:59:14 -06:00
1 parent 9836b5cf67
commit de047fb851
3 files changed
+16 -11

No files matched your search

+2 -2
View File
@@ -81,10 +81,10 @@ void CheatManager::CheatDetected(CheatTypes type, glm::vec3 position1, glm::vec3
position1.z
);
parse->EventPlayer(EVENT_WARP, m_target, export_string, 0);;
parse->EventPlayer(EVENT_WARP, m_target, export_string, 0);
}
m_time_since_last_warp_detection.Start(2500)
m_time_since_last_warp_detection.Start(2500);
}
break;
case MQWarpShadowStep: