pun 1.3, offline mode

Options
I modified EnableScript.cs to be able to use PhotonNetwork.offline mode:
public class EnableScript : MonoBehaviour {

    public GameObject game;
    public GameObject mainMenu;

    public bool offline_mode = false;

    /// <summary>
    /// Enable one GO and remove the other
    /// </summary>
	void Awake () {
        if (PhotonNetwork.room != null || offline_mode)
        {
            if(offline_mode)
            {
                PhotonNetwork.offlineMode = true;
            }
            game.active = true;
            Destroy(mainMenu);
        }
        else
        {
            Destroy(game);
            mainMenu.active = true;                     
        }
        Destroy(gameObject);//We dont need this anymore
	}
}

and this way I get
"Cannot send RPCs in Lobby! RPC dropped."
warning every time I send RPC,
because
room==null

when/how should I turn offline mode on in order for everything to work correctly? (right now my code doesn't work properly I suppose)

thanks,
Slav