mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 11:37:40 +01:00
fix avoiding powerfist antidrop (#25274)
* fix avoiding powerfist antidrop * Update code/game/objects/items/weapons/powerfist.dm Co-authored-by: HMBGERDO <61080616+HMBGERDO@users.noreply.github.com> Signed-off-by: Сиротка <114731039+ErdGinalD@users.noreply.github.com> * Update code/game/objects/items/weapons/powerfist.dm Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com> Signed-off-by: Сиротка <114731039+ErdGinalD@users.noreply.github.com> --------- Signed-off-by: Сиротка <114731039+ErdGinalD@users.noreply.github.com> Co-authored-by: HMBGERDO <61080616+HMBGERDO@users.noreply.github.com> Co-authored-by: 1080pCat <96908085+1080pCat@users.noreply.github.com>
This commit is contained in:
co-authored by
HMBGERDO
1080pCat
parent
83c9d8878a
commit
7f37f93408
@@ -31,8 +31,8 @@
|
||||
|
||||
/obj/item/melee/powerfist/attackby(obj/item/W, mob/user, params)
|
||||
if(istype(W, /obj/item/tank/internals))
|
||||
if(!iscarbon(loc))
|
||||
to_chat(user, "<span class='warning'>You have to hold the powerfist in your hand!</span>")
|
||||
if(!user.is_holding(src))
|
||||
to_chat(user, "<span class='warning'>You have to hold [src] in your hand!</span>")
|
||||
return
|
||||
if(!tank)
|
||||
var/obj/item/tank/internals/IT = W
|
||||
|
||||
Reference in New Issue
Block a user