diff --git a/apps/openmw/mwscript/interpretercontext.cpp b/apps/openmw/mwscript/interpretercontext.cpp index 212bf8365..89e0d55e4 100644 --- a/apps/openmw/mwscript/interpretercontext.cpp +++ b/apps/openmw/mwscript/interpretercontext.cpp @@ -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 */