rather than stupidly scurrying outside to toss logs onto the flames and tempt any number of rabid hordes watching from the forest , they 'd worked out an ingenious way of dealing with the problem in the least dangerous way possible .