A man is trapped in a room with only two exits. One exit leads into a room made of magnifying glass and instantly fries anything going into it in the hot summer sun. The other door, leads into a room with a fire breathing dragon inside. How does he escape?

I give credit for this riddle to Riddle.fyi
Sorry. I did not realise this was a duplicate.

• My friend asked me this riddle before, and I answered exactly what @El-Guest did. This means the riddle might be too easy (or already heard of, especially since it is a duplicate as the above comment points out). Try to be aware of those factors, but apart from that, there is no denying (at least for me) that this is a fun riddle :) – Mr Pie Aug 29 '18 at 14:32
• @user477343 thank you for your pointers. I'll bear those in mind next time – William Pennanti Aug 30 '18 at 6:42
• Ooo, jeez, I don’t think you deserve that many downvotes. Seems a bit harsh... $(+1)$ :\ – Mr Pie Aug 30 '18 at 12:47

You have to

wait until nighttime, then leave through the magnifying glass door.

• Well done. P.S. I feel that you have heard this before – William Pennanti Aug 29 '18 at 13:00
• No need to have heard it before. It took me about five seconds. – Gareth McCaughan Aug 29 '18 at 13:33
• Ok then. Very well done – William Pennanti Aug 30 '18 at 6:38
• @WilliamPennanti I'm not sure if you still can, but please accept the answer if it is correct :) No worries though! – El-Guest Aug 30 '18 at 12:36