mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 20:47:43 +01:00
Merge pull request #16897 from Kashargul/snatcher
prevent sheet snatcher overflow
This commit is contained in:
@@ -326,11 +326,15 @@
|
||||
break
|
||||
|
||||
if(!inserted)
|
||||
usr.remove_from_mob(S)
|
||||
if (usr.client && usr.s_active != src)
|
||||
usr.client.screen -= S
|
||||
S.dropped(usr)
|
||||
S.loc = src
|
||||
if(capacity < current + S.get_amount())
|
||||
var/obj/item/stack/F = S.split(amount)
|
||||
F.loc = src
|
||||
else
|
||||
usr.remove_from_mob(S)
|
||||
if (usr.client && usr.s_active != src)
|
||||
usr.client.screen -= S
|
||||
S.dropped(usr)
|
||||
S.loc = src
|
||||
|
||||
orient2hud(usr)
|
||||
if(usr.s_active)
|
||||
|
||||
Reference in New Issue
Block a user