Fixes holstering micros

This commit is contained in:
Heroman
2023-08-10 19:58:36 +10:00
parent 71744f7bf8
commit e7ca865bd7
@@ -31,8 +31,7 @@
if(istype(user))
user.stop_aiming(no_message=1)
holstered = I
user.drop_from_inventory(holstered)
holstered.loc = src
user.drop_from_inventory(holstered, target = src)
holstered.add_fingerprint(user)
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>")