Skip to content
This repository has been archived by the owner on Oct 15, 2023. It is now read-only.

Commit

Permalink
обход бага от проверки drop_from_active_hand()
Browse files Browse the repository at this point in the history
Обход бага . = false, выпилить после включения рефакторов Цвея
  • Loading branch information
Lentye committed Aug 2, 2023
1 parent d4ec489 commit db08da9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions code/datums/spells/conjure_item.dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
if(C.drop_from_active_hand())
item = new item_type
C.put_in_hands(item)
else //для обхода бага от рефактора Цвея который он починил другим рефактором которого здесь нет
item = new item_type
C.put_in_hands(item)

/obj/effect/proc_holder/spell/targeted/conjure_item/Destroy()
QDEL_NULL(item)
Expand Down

0 comments on commit db08da9

Please sign in to comment.