mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Fixes mob holders
Thanks for that "intended feature" upstream. Fixes mob holders being non-transferable from the person holding them and insta-dumping the mob on the ground instead of functioning.
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
/obj/item/weapon/holder/dropped(mob/user)
|
/*/obj/item/weapon/holder/dropped(mob/user) //CHOMPRemoval. Fixes unwanted and broken upstream "feature" (bug)
|
||||||
if (held_mob?.loc != src || isturf(loc))
|
if (held_mob?.loc != src || isturf(loc))
|
||||||
var/held = held_mob
|
var/held = held_mob
|
||||||
dump_mob()
|
dump_mob()
|
||||||
held_mob = held
|
held_mob = held
|
||||||
|
*/
|
||||||
|
|
||||||
/obj/item/weapon/holder/attack_hand(mob/living/user as mob) //straight up just copypasted from objects/items.dm with a few things changed (doesn't called dropped unless +actually dropped+)
|
/obj/item/weapon/holder/attack_hand(mob/living/user as mob) //straight up just copypasted from objects/items.dm with a few things changed (doesn't called dropped unless +actually dropped+)
|
||||||
if (!user) return
|
if (!user) return
|
||||||
@@ -56,4 +57,4 @@
|
|||||||
If this is fine to you, ensure that the other player is fine with you doing things to them beforehand!
|
If this is fine to you, ensure that the other player is fine with you doing things to them beforehand!
|
||||||
"},"OOC Warning")
|
"},"OOC Warning")
|
||||||
//VORESTATION EDIT END.
|
//VORESTATION EDIT END.
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user