Skip to content

Commit

Permalink
Fix spt_ihud_modify crash
Browse files Browse the repository at this point in the history
  • Loading branch information
evanlin96069 authored and lipsanen committed Dec 2, 2024
1 parent 2d3349b commit 02d8e7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spt/features/ihud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ CON_COMMAND_F_COMPLETION(y_spt_ihud_modify,
{
if (argc == 3)
{
Msg("%s: enabled = %s\n", button.enabled ? "true" : "false");
Msg("%s: enabled = %s\n", name.c_str(), button.enabled ? "true" : "false");
}
else if (argc == 4)
{
Expand Down

0 comments on commit 02d8e7d

Please sign in to comment.