Skip to content

Commit

Permalink
fix (#8356)
Browse files Browse the repository at this point in the history
  • Loading branch information
MLGTASTICa authored Nov 10, 2023
1 parent 8171fed commit 56f7c88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/_onclick/item_attack.dm
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ avoid code duplication. This includes items that may sometimes act as a standard

/obj/item/proc/swing_attack(atom/A, mob/user, params)
var/holdinghand = user.get_inventory_slot(src)
if(params && params["mech"])
if(params && islist(params) && params["mech"])
holdinghand = params["mech_hand"]
var/turf/R
var/turf/C
Expand Down

0 comments on commit 56f7c88

Please sign in to comment.