mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[MIRROR] kinesis now properly removes grabbed traits [MDB IGNORE] (#23500)
* kinesis now properly removes grabbed traits (#78099) ## About The Pull Request why isnt this a global proc like add_trait and remove_trait is??? ## Why It's Good For The Game \ gdsahehsjsrj ## Changelog 🆑 fix: kinesis plus properly lets you move again when grabbed once /🆑 * kinesis now properly removes grabbed traits --------- Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com>
This commit is contained in:
@@ -187,7 +187,7 @@
|
||||
grabbed_atom.cut_overlay(kinesis_icon)
|
||||
QDEL_NULL(kinesis_beam)
|
||||
if(isliving(grabbed_atom))
|
||||
remove_traits(grabbed_atom, list(TRAIT_IMMOBILIZED, TRAIT_HANDS_BLOCKED), REF(src))
|
||||
grabbed_atom.remove_traits(list(TRAIT_IMMOBILIZED, TRAIT_HANDS_BLOCKED), REF(src))
|
||||
REMOVE_TRAIT(grabbed_atom, TRAIT_NO_FLOATING_ANIM, REF(src))
|
||||
if(!isitem(grabbed_atom))
|
||||
animate(grabbed_atom, 0.2 SECONDS, pixel_x = grabbed_atom.base_pixel_x, pixel_y = grabbed_atom.base_pixel_y)
|
||||
|
||||
Reference in New Issue
Block a user