diff --git a/Main/Source/cmdcraft.cpp b/Main/Source/cmdcraft.cpp index 92128c8a0..1fca66a2a 100644 --- a/Main/Source/cmdcraft.cpp +++ b/Main/Source/cmdcraft.cpp @@ -31,9 +31,12 @@ void craftcore::AddSuspended(const recipedata& rpd) if(!rpd.rc.IsCanBeSuspended()) ABORT("action can't be suspended %s",rpd.dbgInfo().CStr()); + /* id() is not unique: identical crafts share it, so keep the newest. */ for(int i=0;i