Skip to content

Commit

Permalink
Move xeno grab cooldown change to just ctrl+click logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Drulikar committed Aug 24, 2023
1 parent c8cb363 commit d4a4aeb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion code/_onclick/click.dm
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
return TRUE

if (mods["ctrl"])
if (Adjacent(user))
if (Adjacent(user) && user.next_move < world.time)
user.start_pulling(src)
return TRUE
return FALSE
Expand Down
3 changes: 0 additions & 3 deletions code/modules/mob/living/carbon/xenomorph/Xenomorph.dm
Original file line number Diff line number Diff line change
Expand Up @@ -755,9 +755,6 @@


/mob/living/carbon/xenomorph/start_pulling(atom/movable/AM, lunge, no_msg)
if(next_move >= world.time)
return FALSE

if(SEND_SIGNAL(AM, COMSIG_MOVABLE_XENO_START_PULLING, src) & COMPONENT_ALLOW_PULL)
return do_pull(AM, lunge, no_msg)

Expand Down

0 comments on commit d4a4aeb

Please sign in to comment.