Skip to content

Commit

Permalink
Update CLuaPlayerDefs.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Lpsd committed Nov 24, 2023
1 parent 5483850 commit b2f3bed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Server/mods/deathmatch/logic/luadefs/CLuaPlayerDefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,7 @@ std::string CLuaPlayerDefs::ArgsToString(const std::string& str, const std::pair

// Remove delimiter from values
key.Replace(delimiter.c_str(), "");
value.Replace(delimiter.c_str(), "");

return str + (str.empty() ? std::string() : delimiter) + key + delimiter + value;
}
Expand Down

0 comments on commit b2f3bed

Please sign in to comment.