mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Reduce lines by removing blank lines added by PJ's script
This commit is contained in:
@@ -46,14 +46,12 @@
|
||||
Item.loc = M.back
|
||||
ok = 1
|
||||
to_chat(M, "<span class='notice'>Your [Item.name] has been added to your [M.back.name].</span>")
|
||||
|
||||
if(ok == 0)
|
||||
for(var/obj/item/weapon/storage/S in M.contents) // Try to place it in any item that can store stuff, on the mob.
|
||||
if (S.contents.len < S.storage_slots)
|
||||
Item.loc = S
|
||||
ok = 1
|
||||
to_chat(M, "<span class='notice'>Your [Item.name] has been added to your [S.name].</span>")
|
||||
|
||||
break
|
||||
if(description)
|
||||
Item.desc = description
|
||||
|
||||
Reference in New Issue
Block a user