From 25ec10023a0dd5f4c4e8df85cba7ec0828dc8160 Mon Sep 17 00:00:00 2001 From: "Yi Yang @ Anteros" Date: Sat, 21 Oct 2023 21:37:11 +0800 Subject: [PATCH] (Aegis) fix docgen --- industry/lib/cargo.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/industry/lib/cargo.py b/industry/lib/cargo.py index fde2ef2d..c71bf677 100644 --- a/industry/lib/cargo.py +++ b/industry/lib/cargo.py @@ -16,6 +16,7 @@ def __init__(self, id, label, cargo_class, capacity_multiplier=0x100, weight=16, }, ) self.label = label + self.cargo_class = cargo_class def get_sprites(self, g): s = g.strings @@ -28,6 +29,14 @@ def get_sprites(self, g): self._props["label"] = struct.unpack("