X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fserver%2Fcommand%2Fcmd.qc;h=4494c104db136b94ebdc2cfb5c3d4763b50601e8;hb=8e65359103b6cc20691d2e960e7025b9f804dafb;hp=a743a618cce28d563a9dc8050ee50c847a4d6f17;hpb=bea48396f95dbf1f957fe5763f99f3988892b660;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/command/cmd.qc b/qcsrc/server/command/cmd.qc index a743a618c..4494c104d 100644 --- a/qcsrc/server/command/cmd.qc +++ b/qcsrc/server/command/cmd.qc @@ -174,7 +174,7 @@ void ClientCommand_join(float request) if (!IS_PLAYER(self) && !lockteams && !gameover) { if (self.caplayer) return; - if (nJoinAllowed(self)) + if (nJoinAllowed(self, self)) { if (autocvar_g_campaign) campaign_bots_may_start = 1; self.classname = STR_PLAYER;