forked from teamnwah/openmw-tes3coop
Fix variable name for ID_SCRIPT_GLOBAL_SHORT in InterpreterContext
This commit is contained in:
parent
c205e793cb
commit
d5fca115f7
1 changed files with 3 additions and 3 deletions
|
@ -283,12 +283,12 @@ namespace MWScript
|
||||||
if (sendPackets)
|
if (sendPackets)
|
||||||
{
|
{
|
||||||
mwmp::WorldEvent *event = mwmp::Main::get().getNetworking()->createWorldEvent();
|
mwmp::WorldEvent *event = mwmp::Main::get().getNetworking()->createWorldEvent();
|
||||||
event->globalName = name;
|
event->varName = name;
|
||||||
event->shortVal = value;
|
event->shortVal = value;
|
||||||
mwmp::Main::get().getNetworking()->GetWorldPacket(ID_SCRIPT_GLOBAL_SHORT)->Send(event);
|
mwmp::Main::get().getNetworking()->GetWorldPacket(ID_SCRIPT_GLOBAL_SHORT)->Send(event);
|
||||||
|
|
||||||
printf("Sending ID_SCRIPT_GLOBAL_SHORT\n- globalName: %s\n- shortVal: %i\n",
|
printf("Sending ID_SCRIPT_GLOBAL_SHORT\n- varName: %s\n- shortVal: %i\n",
|
||||||
event->globalName.c_str(),
|
event->varName.c_str(),
|
||||||
event->shortVal);
|
event->shortVal);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue