From 4d8ac75258434136d7833524ca72b8268fd4a9c7 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 11 Apr 2007 15:53:17 +0000 Subject: - Trade-requests now fail if the target is in a NPC. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10214 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/map.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map/map.c') diff --git a/src/map/map.c b/src/map/map.c index d02c6da55..37a6f1d91 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -3154,7 +3154,8 @@ void do_abort(void) { //Save all characters and then flush the inter-connection. if (!chrif_isconnect()) { - ShowFatalError("Server has crashed without a connection to the char-server, character data can't be saved!\n"); + if (pc_db->size(pc_db)) + ShowFatalError("Server has crashed without a connection to the char-server, character data can't be saved!\n"); return; } ShowError("Server received crash signal! Attempting to save all online characters!\n"); -- cgit v1.2.3-60-g2f50