[Client] Fix typo in 56f084c9c0ec3413a39dfeb174daab0035137136 by using correct function

This commit is contained in:
David Cernat 2019-09-23 07:55:16 +03:00
parent 6828d83a42
commit 219f0cb88e

View File

@ -325,7 +325,7 @@ namespace MWScript
Avoid setting a global to a value it already is, preventing packet spam
*/
if (getGlobalFloat(name) == value) return;
if (getGlobalShort(name) == value) return;
/*
End of tes3mp addition
*/