     @systems = []
     @systemMap = {}
     @scriptNotes = []
-    @rand = new Rand 0
+    # We want a seed thats not always 0 yet reproducable.
+    @rand = new Rand @hashString(JSON.stringify @userCodeMap)
     @frames = [new WorldFrame(@, 0)]
 
   getFrame: (frameIndex) ->

  teamForPlayer: (n) ->
    playableTeams = @playableTeams ? ['humans']
    playableTeams[n % playableTeams.length]

        return
    @finishDeserializing w, finishedWorldCallback, perf

  @finishDeserializing: (w, finishedWorldCallback, perf) ->
    perf.t4 = now()
    w.ended = true
    w.getFrame(w.totalFrames - 1).restoreState()
