Skip to content

Commit 5149e84

Browse files
committed
Add type hints to entities list to test webhooks
1 parent 24caf74 commit 5149e84

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/MapExporter.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,8 @@ def exportMap(
918918
if not brush.isToolBrush and not brush.hasDisp:
919919
brushDict[brush.id] = brush
920920

921-
for i, entity in enumerate(mapData["entities"], lenWorld + lenEntBrushes):
921+
entities: Dict[str, str] = mapData["entities"]
922+
for i, entity in enumerate(entities, lenWorld + lenEntBrushes):
922923
if "origin" in entity:
923924
origin = Vector3.FromStr(entity["origin"]) * scale
924925
AABBmax.set(AABBmax.max(origin))

0 commit comments

Comments
 (0)