Throw Spam Fix

Title, ported from https://github.com/PolarisSS13/Polaris/pull/6463
This commit is contained in:
TheFurryFeline
2019-10-06 19:48:35 -04:00
committed by GitHub
parent 1776096948
commit ec86215718
+1
View File
@@ -1226,6 +1226,7 @@ default behaviour is:
var/turf/end_T = get_turf(target)
if(end_T)
add_attack_logs(src,M,"Thrown via grab to [end_T.x],[end_T.y],[end_T.z]")
src.drop_from_inventory(G) //CHOMPStation Edit TFF 6/10/19 - Throw-spam with grab fix, drop when done.
src.drop_from_inventory(item)
if(!item || !isturf(item.loc))