diff --git a/src/zr/config.inc b/src/zr/config.inc index f906a8a..82d2cb8 100644 --- a/src/zr/config.inc +++ b/src/zr/config.inc @@ -254,7 +254,7 @@ ConfigOnModulesLoaded() ServerCommand("exec %s", mapconfig); // Log action. - LogEvent(false, LogType_Normal, LOG_CORE_EVENTS, LogModule_Config, "Executed post map config file: %s", path); + LogEvent(false, LogType_Normal, LOG_CORE_EVENTS, LogModule_Config, "Post Map Configs", "Executed post map config file: %s", path); } /** diff --git a/src/zr/napalm.inc b/src/zr/napalm.inc index 7c2e208..1cca75e 100644 --- a/src/zr/napalm.inc +++ b/src/zr/napalm.inc @@ -39,6 +39,12 @@ */ NapalmOnClientHurt(client, attacker, const String:weapon[]) { + // If there's no attacker, then stop. + if (!attacker) + { + return; + } + // If player isn't a zombie, then stop. if (!InfectIsClientInfected(client)) {