- WriteString(MSG_ONE, mutator_msg); // trust that the mutator will do proper formatting
- WriteString(MSG_ONE, strreplace("\\n", "\n", autocvar_sv_motd));
-}
-
-void SendWelcomemessage_onConnection_think(entity this)
-{
- SendWelcomemessage(this, false);
-}
-
-void SendWelcomemessage_onConnection(entity this)
-{
- // give the client time to sent its version
- defer(this, 0.5, SendWelcomemessage_onConnection_think);
+ WriteString(msg_type, mutator_msg); // trust that the mutator will do proper formatting
+ WriteString(msg_type, strreplace("\\n", "\n", autocvar_sv_motd));