Skip to content

Commit 65b16fe

Browse files
authored
Adds Boss/Legend printers to list
1 parent 590ca86 commit 65b16fe

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

MiniMapMod/MiniMapPlugin.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,10 @@ private void ScanStaticTypes()
231231

232232
// duplicators
233233
RegisterMonobehaviorType<ShopTerminalBehavior>(InteractableKind.Printer, dynamicObject: false,
234-
selector: shop => shop.GetComponent<PurchaseInteraction>().contextToken == "DUPLICATOR_CONTEXT");
234+
selector: shop => {
235+
var token = shop.GetComponent<PurchaseInteraction>().contextToken;
236+
return token == "DUPLICATOR_CONTEXT" || token == "DUPLICATOR_MILITARY_CONTEXT" || token == "DUPLICATOR_WILD_CONTEXT";
237+
});
235238

236239
// barrels
237240
RegisterMonobehaviorType<BarrelInteraction>(InteractableKind.Barrel, barrel => !barrel.Networkopened, dynamicObject: false);

0 commit comments

Comments
 (0)