Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class FakeCargoShipAI : FakeShipAI

public override void GetBufferStatus (ushort vehicleID, ref Vehicle data, out string localeKey, out int current, out int max)
{
localeKey = "Default";
localeKey = "Par défaut";
current = 0;
max = this.m_cargoCapacity;
VehicleManager instance = Singleton<VehicleManager>.instance;
Expand All @@ -22,7 +22,7 @@ public override void GetBufferStatus (ushort vehicleID, ref Vehicle data, out st
current++;
num = instance.m_vehicles.m_buffer [(int)num].m_nextCargo;
if (++num2 > 65536) {
CODebugBase<LogChannel>.Error (LogChannel.Core, "Invalid list detected!\n" + Environment.StackTrace);
CODebugBase<LogChannel>.Error (LogChannel.Core, "List invalid détectée !\n" + Environment.StackTrace);
break;
}
}
Expand All @@ -46,7 +46,7 @@ private bool ArriveAtSource (ushort vehicleID, ref Vehicle data)
num = nextCargo;
if (++num2 > 65536)
{
CODebugBase<LogChannel>.Error (LogChannel.Core, "Invalid list detected!\n" + Environment.StackTrace);
CODebugBase<LogChannel>.Error (LogChannel.Core, "List invalide détectée !\n" + Environment.StackTrace);
break;
}
}
Expand Down Expand Up @@ -75,7 +75,7 @@ private bool ArriveAtTarget (ushort vehicleID, ref Vehicle data)
num = nextCargo;
if (++num2 > 65536)
{
CODebugBase<LogChannel>.Error (LogChannel.Core, "Invalid list detected!\n" + Environment.StackTrace);
CODebugBase<LogChannel>.Error (LogChannel.Core, "Liste invalide détectée !\n" + Environment.StackTrace);
break;
}
}
Expand Down