Does $f$ continuous in the Zariski topology imply that $\underset{x \to x_0}{\lim}f(x)=f(x_0)$?
I used the above argument in a proof, but I found it really suspect and questionable and would like to know whether it is correct or if (and how) to replace it with a correct argument.
If it is correct, would it be possible to sketch a proof, or to point to a reference giving the proof?
Context: Given a projective variety $V$ in $\mathbb{CP}^n$, and two rational functions $\frac{f_1}{g_1}$ and $\frac{f_2}{g_2}$ which are equal everywhere in their common domain of definition, i.e. $\operatorname{Dom}\left(\frac{f_1}{g_1}\right) \cap \operatorname{Dom}\left(\frac{f_2}{g_2}\right)$.
I want to show that this implies that $f_1g_2 - f_2g_1$ equals $0$ on every point of $V$.
Obviously this holds everywhere on $\operatorname{Dom}\left(\frac{f_1}{g_1}\right) \cap \operatorname{Dom}\left(\frac{f_2}{g_2}\right)$. Then my suspicious argument goes that: this set is Zariski open, hence Zariski dense, in $V$, and $f_1g_2 - f_2g_1$ is a Zariski-continuous function which equals $0$ everywhere in this Zariski dense subset. Thus, because of continuity (the claim in yellow above), it also equals zero on $V \setminus \left[\operatorname{Dom}\left(\frac{f_1}{g_1}\right) \cap \operatorname{Dom}\left(\frac{f_2}{g_2}\right)\right]$, thus on all of $V$.
I wanted to argue this more directly, but this was the only idea I could think of at the time.
Note: this corresponds to one direction of exercise 5.4.4. in this book. Since this problem is so basic, I am quite concerned about my current lack of understanding.