Skip to content

Commit 2fb14b6

Browse files
Update deathcause.lua
Format to keep old usage working Signed-off-by: Squid Coder <92821989+realSquidCoder@users.noreply.github.com>
1 parent c4483b5 commit 2fb14b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deathcause.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ elseif hist_figure_id == -1 then
154154
if not selected_unit then
155155
qerror("Cause of death not available")
156156
end
157-
print(displayDeathUnit(selected_unit))
157+
print(dfhack.df2console(displayDeathUnit(selected_unit)))
158158
else
159-
print(displayDeathHistFig(df.historical_figure.find(hist_figure_id)))
159+
print(dfhack.df2console(displayDeathHistFig(df.historical_figure.find(hist_figure_id))))
160160
end

0 commit comments

Comments
 (0)