mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-09 04:07:46 +00:00
Fix action parser formatting
This commit is contained in:
parent
fe82d50288
commit
637c786ebc
1 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ struct ActionEntry
|
|||
StatusEffect statuses;
|
||||
};
|
||||
|
||||
void to_json(nlohmann::ordered_json& j, const StatusEntry& statusEntry)
|
||||
void to_json( nlohmann::ordered_json& j, const StatusEntry& statusEntry )
|
||||
{
|
||||
j = nlohmann::ordered_json{
|
||||
{ "id", statusEntry.id },
|
||||
|
@ -66,7 +66,7 @@ void to_json(nlohmann::ordered_json& j, const StatusEntry& statusEntry)
|
|||
};
|
||||
}
|
||||
|
||||
void to_json(nlohmann::ordered_json& j, const ActionEntry& action)
|
||||
void to_json( nlohmann::ordered_json& j, const ActionEntry& action )
|
||||
{
|
||||
j = nlohmann::ordered_json{
|
||||
{ "name", action.name },
|
||||
|
@ -323,7 +323,7 @@ int main( int argc, char* argv[] )
|
|||
}
|
||||
|
||||
std::ofstream outH( "actions/player.json" );
|
||||
outH << std::setw(2) << output << std::endl;
|
||||
outH << std::setw( 2 ) << output << std::endl;
|
||||
outH.close();
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue