Skip to content

Commit

Permalink
Fixed a bug with praetorian
Browse files Browse the repository at this point in the history
  • Loading branch information
Watermelon914 authored and Watermelon914 committed Apr 25, 2021
1 parent c9f4da8 commit 277070b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/modules/mob/living/carbon/xenomorph/castes/Praetorian.dm
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@
if(DT_PROB(PRAETORIAN_DASH, delta_time))
var/datum/action/xeno_action/A = get_xeno_action_by_type(src, /datum/action/xeno_action/activable/pounce/base_prae_dash)
A.use_ability_async(current_target)
current_path = null
SSxeno_pathfinding.stop_calculating_path(src)

if(DT_PROB(PRAETORIAN_SPIT, delta_time) && (loc in view(current_target)))
var/datum/action/xeno_action/A = get_xeno_action_by_type(src, /datum/action/xeno_action/activable/xeno_spit)
Expand Down

0 comments on commit 277070b

Please sign in to comment.