Fix return type of _render_path()
This commit is contained in:
parent
d9916579b6
commit
51123c10bc
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue