changing InventoryEquipmentSlot such that it does not perform the same insertion collision check twice anymore; commenting out entirety of RemoverActorTest to align with the other PR

This commit is contained in:
FateJH 2018-06-10 01:37:37 -04:00
parent 58d2a35f9f
commit a29090890b
2 changed files with 538 additions and 538 deletions

View file

@ -34,7 +34,7 @@ class InventoryEquipmentSlot(private val slot : Int, private val inv : GridInven
case Some(equip) =>
val tile = equip.Definition.Tile
inv.CheckCollisionsVar(slot, tile.Width, tile.Height) match {
case Success(Nil) => inv += slot -> equip
case Success(Nil) => inv.InsertQuickly(slot, equip)
case _ => ;
}

File diff suppressed because it is too large Load diff