diff options
Diffstat (limited to 'src/game/example')
-rw-r--r-- | src/game/example/example.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/example/example.cc b/src/game/example/example.cc index 4eeea00..9c3d55a 100644 --- a/src/game/example/example.cc +++ b/src/game/example/example.cc @@ -96,7 +96,7 @@ void Example::player_connect(core::Player *player) player->set_dirty(); // send a message to the player - core::server()->send(player, "Welcome to " + name()); + player->send("Welcome to " + name()); // broadcast a message to all players core::server()->broadcast("^B" + player->name() + " ^Bentered."); |