Fix Ynykron'd bots not respawning
This commit is contained in:
parent
804666b7b8
commit
1c2c08822b
2 changed files with 4 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r529 \cu(Sun 6 Jun 20:44:10 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r529 \cu(2021-06-06 20:44:10)\c-";
|
||||
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r530 \cu(Sun 6 Jun 20:44:28 CEST 2021)\c-";
|
||||
SWWM_SHORTVER="\cw0.9.11b-pre r530 \cu(2021-06-06 20:44:28)\c-";
|
||||
|
|
|
|||
|
|
@ -55,7 +55,8 @@ Class PlayerGone : PlayerChunk
|
|||
if ( multiplayer || level.AllowRespawn || sv_singleplayerrespawn || G_SkillPropertyInt(SKILLP_PlayerRespawn) )
|
||||
{
|
||||
// standard behaviour, respawn normally
|
||||
if ( (((player.cmd.buttons&BT_USE) && !player.Bot) || ((deathmatch || alwaysapplydmflags) && sv_forcerespawn && (Level.maptime >= player.respawn_time))) && !sv_norespawn )
|
||||
if ( (((player.cmd.buttons&BT_USE) || ((deathmatch || alwaysapplydmflags) && sv_forcerespawn)) && !sv_norespawn)
|
||||
&& ((Level.maptime >= player.respawn_time) || ((player.cmd.buttons&BT_USE) && !player.Bot)) )
|
||||
{
|
||||
player.cls = null;
|
||||
player.playerstate = PST_REBORN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue