The repeal of prior ordinances and adoption of this Code are not to be construed to affect in any manner rights and liabilities existing at the time of repeal and the enactment of this Code. Insofar as provisions in this Code are substantially the same as pre-existing ordinances, they shall be considered as continuations and not as new enactments. Any act done, offense committed, or right accruing, or liability, penalty, forfeiture, or punishment incurred or assessed prior to the effective date of this Code is not affected by the enactment of the Code.