Commit 9333b190 authored by sirjorj's avatar sirjorj

fix quickbuilds

parent 0205eb29
Subproject commit 8f398645d0abd48abba04aaf1cbec91f1791597f
Subproject commit b9fa951398541136dba4e7774e0b0e4714dec625
......@@ -41,7 +41,9 @@ void quickbuilds2(struct kreq *req) {
for(const Pilot &p : Pilot::GetAllPilots()) {
if(p.GetFac() == f.GetFac() && p.GetShp() == s.GetShp()) {
try {
quickBuilds.push_back(QuickBuild::GetQuickBuild(p.GetPlt()));
for(const QuickBuild& qb : QuickBuild::GetQuickBuilds(p.GetPlt())) {
quickBuilds.push_back(qb);
}
}
catch(QuickBuildNotFound &qbnf) {
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment