Skip to content

Commit

Permalink
fixessszzs
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroBetel committed May 15, 2024
1 parent 984049e commit 7f65fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/_onclick/click.dm
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@

/mob/proc/click_adjacent(atom/A, obj/item/W, mods)
if(W)
if(W.attack_speed && !src.contains(A)) //Not being worn or carried in the user's inventory somewhere, including internal storages.
if(W.attack_speed && !src.contains(A) && !isturf(A)) //Not being worn or carried in the user's inventory somewhere, including internal storages.
next_move += W.attack_speed

if(SEND_SIGNAL(A, COMSIG_ATOM_MOB_ATTACKBY, W, src) & COMPONENT_CANCEL_ATTACKBY)
Expand Down
1 change: 1 addition & 0 deletions code/modules/mob/living/carbon/carbon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@
if(D.spread_by_touch())
contract_disease(D, 0, 1, CONTACT_HANDS)

M.next_move += 11
return

/mob/living/carbon/electrocute_act(shock_damage, obj/source, siemens_coeff = 1.0, def_zone = null)
Expand Down

0 comments on commit 7f65fd4

Please sign in to comment.