1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-19 19:09:49 +00:00

Fix setting of index for ID_SCRIPT_MEMBER_SHORT in InterpreterContext

This commit is contained in:
David Cernat 2016-10-27 15:02:40 +03:00
parent fd4085725e
commit 344f2b535a

View file

@ -613,7 +613,7 @@ namespace MWScript
{
mwmp::WorldEvent *event = mwmp::Main::get().getNetworking()->createWorldEvent();
event->cellRef.mRefID = id;
event->varName = name;
event->index = index;
event->shortVal = value;
mwmp::Main::get().getNetworking()->GetWorldPacket(ID_SCRIPT_MEMBER_SHORT)->Send(event);