From a50db0e824eba8e0e265099df256cafc333113d7 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Thu, 19 Dec 2013 21:47:08 +0100 Subject: [PATCH] Check for denied access in itemdef/nodedef/media fetch loop --- src/game.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/game.cpp b/src/game.cpp index 6f48870ad..8cf7da1e1 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -1215,6 +1215,12 @@ void the_game( break; } // Break conditions + if(client.accessDenied()){ + error_message = L"Access denied. Reason: " + +client.accessDeniedReason(); + errorstream<