Skip to content

Commit

Permalink
fix(gui/parser): add missing \n in request tickrate command
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael-Mabille committed Jun 23, 2024
1 parent 7f5d25d commit 5d13355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/src/parser/Data.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Data
*/
void setTickRate(int rate) { this->tickRate = rate; };
int getTickRate() { return this->tickRate; };
void requestNewTickRate(int rate, ServerConnect server) { server.sendToServer("sst " + std::to_string(rate)); };
void requestNewTickRate(int rate, ServerConnect server) { server.sendToServer("sst " + std::to_string(rate) + "\n"); };

void setWinner(std::string team) { this->winner = team; };
std::optional<std::string> getWinner() { return this->winner; };
Expand Down

0 comments on commit 5d13355

Please sign in to comment.