Loader operator was working stockpile when they noticed flames in the engine compartment of CAT 980G Wheel Loader. Operator attempted to extinguish fire. Fire Department was called and it is presumed that they had the fire out in less than 30 minutes; Plant Manager called MSHA just in case (MSHA# 0399351). No injuries. Damage was contained to only the 980G.