]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PYTHIA6/AliPythiaRndm.cxx
bug #61669: Request to have the interaction time in AliGenEventHeader
[u/mrichter/AliRoot.git] / PYTHIA6 / AliPythiaRndm.cxx
index 0bdddef425ea050ebe2c09235da18bcf515362f4..0dcb21c52d8f84efe1007b55b4c27632191603e9 100644 (file)
@@ -54,6 +54,7 @@ TRandom * AliPythiaRndm::GetPythiaRandom() {
   //
   // Retrieves the pointer to the random numbers generator
   //
+  if (!fgPythiaRandom) fgPythiaRandom=gRandom;
   return fgPythiaRandom;
 }