mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-13 19:52:40 +00:00
[MIRROR] Fixes holstering micros (#6762)
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: CHOMPStation2 <chompsation2@gmail.com>
This commit is contained in:
@@ -31,8 +31,7 @@
|
|||||||
if(istype(user))
|
if(istype(user))
|
||||||
user.stop_aiming(no_message=1)
|
user.stop_aiming(no_message=1)
|
||||||
holstered = I
|
holstered = I
|
||||||
user.drop_from_inventory(holstered)
|
user.drop_from_inventory(holstered, target = src)
|
||||||
holstered.loc = src
|
|
||||||
holstered.add_fingerprint(user)
|
holstered.add_fingerprint(user)
|
||||||
w_class = max(w_class, holstered.w_class)
|
w_class = max(w_class, holstered.w_class)
|
||||||
user.visible_message("<span class='notice'>[user] holsters \the [holstered].</span>", "<span class='notice'>You holster \the [holstered].</span>")
|
user.visible_message("<span class='notice'>[user] holsters \the [holstered].</span>", "<span class='notice'>You holster \the [holstered].</span>")
|
||||||
|
|||||||
Reference in New Issue
Block a user