Merge pull request #10849 from Ghommie/Ghommie-cit547

Removing a troublesome argument from organ/Remove() in favor or using the 'owner' variable
This commit is contained in:
kevinz000
2020-02-04 03:39:14 -07:00
committed by GitHub
55 changed files with 203 additions and 193 deletions
+1 -1
View File
@@ -114,7 +114,7 @@
for(var/X in CM.internal_organs)
var/destination = get_edge_target_turf(T, pick(GLOB.alldirs)) //Pick a random direction to toss them in
var/obj/item/organ/O = X
O.Remove(CM) //Note that this isn't the same proc as for lists
O.Remove() //Note that this isn't the same proc as for lists
O.forceMove(T) //Move the organ outta the body
O.throw_at(destination, 2, 3) //Thow the organ at a random tile 3 spots away
sleep(1)