Skip to content

Commit

Permalink
fixd (#9984)
Browse files Browse the repository at this point in the history
  • Loading branch information
CydiaLamiales authored Oct 7, 2023
1 parent 78a3524 commit 9648986
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion code/modules/antagonists/heretic/magic/mansus_grasp.dm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
catchphrase = "R'CH T'H TR'TH!"
on_use_sound = 'sound/items/welder.ogg'

/obj/item/melee/touch_attack/mansus_fist/Initialize(mapload)
/obj/item/melee/touch_attack/mansus_fist/Initialize(mapload, obj/effect/proc_holder/spell/targeted/touch/_spell)
. = ..()
AddComponent(/datum/component/effect_remover, \
success_feedback = "You remove %THEEFFECT.", \
Expand Down
4 changes: 2 additions & 2 deletions code/modules/spells/spell_types/godhand.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
throw_speed = 0
var/charges = 1

/obj/item/melee/touch_attack/Initialize(_mapload, obj/effect/proc_holder/spell/targeted/touch/_spell)
/obj/item/melee/touch_attack/Initialize(mapload, obj/effect/proc_holder/spell/targeted/touch/_spell)
. = ..()
ADD_TRAIT(src, TRAIT_NODROP, ABSTRACT_ITEM_TRAIT)
if(istype(_spell))
Expand Down Expand Up @@ -197,7 +197,7 @@
catchphrase = null
var/datum/mutation/parent_mutation

/obj/item/melee/touch_attack/mutation/Initialize(_mapload, datum/mutation/_parent)
/obj/item/melee/touch_attack/mutation/Initialize(_mapload, obj/effect/proc_holder/spell/targeted/touch/_spell, datum/mutation/_parent)
. = ..()
if(!istype(_parent))
return INITIALIZE_HINT_QDEL
Expand Down
4 changes: 2 additions & 2 deletions code/modules/spells/spell_types/touch_attacks.dm
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
return ..()

/obj/effect/proc_holder/spell/targeted/touch/proc/create_hand()
return new hand_path(src)
return new hand_path(null, src)

/obj/effect/proc_holder/spell/targeted/touch/proc/charge_hand(mob/living/carbon/user)
attached_hand = create_hand()
Expand Down Expand Up @@ -96,4 +96,4 @@
parent_mutation = _parent

/obj/effect/proc_holder/spell/targeted/touch/mutation/create_hand()
return new hand_path(src, parent_mutation)
return new hand_path(null, src, parent_mutation)

0 comments on commit 9648986

Please sign in to comment.