Fixed night vision state not remembered. If zomibes turn off zvision, nvgs will be off next time too.
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
#undef REQUIRE_PLUGIN
|
||||
#include <market>
|
||||
|
||||
#define VERSION "2.5.1.5"
|
||||
#define VERSION "2.5.1.6"
|
||||
|
||||
#include "zr/zombiereloaded"
|
||||
#include "zr/global"
|
||||
|
@ -405,7 +405,11 @@ ApplyZombieNightVision(client)
|
||||
{
|
||||
new bool:nvgs = GetClassNVGs(pClass[client]);
|
||||
NightVision(client, nvgs);
|
||||
NightVisionOn(client, nvgs);
|
||||
|
||||
if (bZVision[client])
|
||||
{
|
||||
NightVisionOn(client, nvgs);
|
||||
}
|
||||
}
|
||||
|
||||
ApplyZombieFOV(client)
|
||||
|
Reference in New Issue
Block a user