Fixed debug speak messages being shown to all players

This commit is contained in:
Redacted by Stellabellum INC
2016-07-03 18:52:47 -04:00
parent ea4c57d641
commit 58ee8cafc4
2 changed files with 2 additions and 4 deletions
@@ -1584,7 +1584,8 @@ public class base_class
private static native void _debugSpeakMsg(long object, String msg);
public static void debugSpeakMsg(obj_id object, String msg)
{
_debugSpeakMsg(getLongWithNull(object), msg);
if (isGod(object))
_debugSpeakMsg(getLongWithNull(object), msg);
}
/**