From 4e3eb2b1fdc7000571bc955a284fdd644a8abea8 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 20 Sep 2021 20:42:54 -0300 Subject: Update some of the debugmes for usage with syslog facility --- npc/042-6/ctrl.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/042-6') diff --git a/npc/042-6/ctrl.txt b/npc/042-6/ctrl.txt index 5ae91ade2..819d8d808 100644 --- a/npc/042-6/ctrl.txt +++ b/npc/042-6/ctrl.txt @@ -23,7 +23,7 @@ OnInstanceInit: explode(.@map$, .map$, "@"); .@g=atoi(.@map$[1]); if (.@g < 1) { - debugmes "[ERROR] [KAMELOT] Unable to spawn for Kamelot %s", .map$; + consolewarn "[ERROR] [KAMELOT] Unable to spawn for Kamelot %s", .map$; debugmes "[ERROR] [KAMELOT] Using dummy data (returned: %d)", .@g; .@g=0; } @@ -88,7 +88,7 @@ OnRespawn: explode(.@map$, .map$, "@"); .@g=atoi(.@map$[1]); if (.@g < 1) { - debugmes "[ERROR] [KAMELOT] Unable to respawn for Kamelot %s", .map$; + consolewarn "[ERROR] [KAMELOT] Unable to respawn for Kamelot %s", .map$; .@g=0; } KamelotCaveSpawn(1, 20, 20, 115, 100, $KAMELOT_MX[.@g], "042-6"); -- cgit v1.2.3-70-g09d2