diff --git a/docs/zr_3.0-b2-patch_changelog.txt b/docs/zr_3.0-b2-patch_changelog.txt index 32865c5..587b77f 100644 --- a/docs/zr_3.0-b2-patch_changelog.txt +++ b/docs/zr_3.0-b2-patch_changelog.txt @@ -172,3 +172,8 @@ released. If the file is empty there are no config changes in that patch. ZR_GetKilledByWorld See addons/sourcemod/scripting/include/zr in the package for details. Also see addons/sourcemod/scripting/testsuite/zr for API usage examples. + +2010.11.17 - r648 +------------------- + +* Fixed players not respawning as zombies when they are supposed to. diff --git a/patchlist.conf b/patchlist.conf index c6457b4..f0503fe 100644 --- a/patchlist.conf +++ b/patchlist.conf @@ -13,3 +13,4 @@ 643 644 647 +648 diff --git a/src/zr/respawn.inc b/src/zr/respawn.inc index 833be31..3aaba30 100644 --- a/src/zr/respawn.inc +++ b/src/zr/respawn.inc @@ -243,14 +243,14 @@ public Action:RespawnTimer(Handle:timer, any:client) */ RespawnCondition:RespawnToContition(bool:zombie, bool:zombieIfSuicide) { - if (zombieIfSuicide) - { - return Respawn_ZombieIfSuicide; - } - else if (zombie) + if (zombie) { return Respawn_Zombie; } + else if (zombieIfSuicide) + { + return Respawn_ZombieIfSuicide; + } return Respawn_Human; }