Skip to content

Commit

Permalink
fix trn path in debug cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
qndel authored and AJenbo committed Dec 3, 2023
1 parent 34adaa6 commit 16c814b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/lua/modules/dev/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ std::string DebugSetPlayerTrn(std::string_view path)
sol::table LuaDevPlayerTrnModule(sol::state_view &lua)
{
sol::table table = lua.create_table();
SetDocumented(table, "mon", "(name: string)", "Set player TRN to monsters\\monsters\\${name}.trn",
[](std::string_view name) { return DebugSetPlayerTrn(StrCat("monsters\\monsters\\", name, ".trn")); });
SetDocumented(table, "mon", "(name: string)", "Set player TRN to monsters\\${name}.trn",
[](std::string_view name) { return DebugSetPlayerTrn(StrCat("monsters\\", name, ".trn")); });
SetDocumented(table, "plr", "(name: string)", "Set player TRN to plrgfx\\${name}.trn",
[](std::string_view name) { return DebugSetPlayerTrn(StrCat("plrgfx\\", name, ".trn")); });
SetDocumented(table, "clear", "()", "Unset player TRN",
Expand Down

0 comments on commit 16c814b

Please sign in to comment.