title: How to make Screeps find sources?
body: <p>In Screeps, I this code doesn't work:</p>
  
  <pre><code>var sources = creep.room.find(Game.FIND_SOURCES_ACTIVE);
  </code></pre>
  
  <p>It says this:</p>
  
  <pre><code>Cannot read property 'find' of undefined
  </code></pre>
  
  <p>I have been looking around and cannot find ANY other way to find sources.</p>
  
  <p>Also I've noticed that most of other peoples code doesn't work and even the tutorial's code no longer works when put into the real game.</p>