Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxDorob committed Dec 2, 2024
1 parent 945b9f1 commit 373edb0
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,27 +67,27 @@ private Thing TryDropThing(Thing thingToDrop, Map map, IntVec3 position)
{
GenSpawn.CheckMoveItemsAside(parent.Position, rot, thingToDrop.def, map);
}
Thing dropedThing;
Thing droppedThing;
if (contents?.spawnWipeMode == null)
{
GenPlace.TryPlaceThing(thingToDrop, position, map, ThingPlaceMode.Near, out dropedThing, null, null, rot);
GenPlace.TryPlaceThing(thingToDrop, position, map, ThingPlaceMode.Near, out droppedThing, null, null, rot);
}
else if (contents?.setRotation != null)
{
dropedThing = GenSpawn.Spawn(thingToDrop, position, map, contents.setRotation.Value, contents.spawnWipeMode.Value, false, false);
droppedThing = GenSpawn.Spawn(thingToDrop, position, map, contents.setRotation.Value, contents.spawnWipeMode.Value, false, false);
}
else
{
dropedThing = GenSpawn.Spawn(thingToDrop, position, map, contents.spawnWipeMode.Value);
droppedThing = GenSpawn.Spawn(thingToDrop, position, map, contents.spawnWipeMode.Value);
}
if (dropedThing is Pawn pawn && pawn.RaceProps.Humanlike)
if (droppedThing is Pawn pawn && pawn.RaceProps.Humanlike)
{
TaleRecorder.RecordTale(TaleDefOf.LandedInPod, new object[]
{
pawn
});
}
return dropedThing;
return droppedThing;
}
}
}

0 comments on commit 373edb0

Please sign in to comment.