Fix return type of _render_path()

This commit is contained in:
henriquenakashima 2021-03-28 16:12:01 -04:00
parent d9916579b6
commit 51123c10bc

View file

@ -111,7 +111,7 @@ def _render_path(r: int, c: int, path: QuestPath) -> Optional[RenderedPath]:
y = (_ENCOUNTER_H + _PADDING_V) + _ROW_H * r y = (_ENCOUNTER_H + _PADDING_V) + _ROW_H * r
w = _ARROW_W w = _ARROW_W
h = _ARROW_H h = _ARROW_H
return RenderedEncounter( return RenderedPath(
description=path.description, description=path.description,
src=icon, src=icon,
x=x, x=x,