I tried to figure out why AllyCursors-Widgets isnt working anymore (I think since 0.77b5) and noticed this (IMO strange) behavior.
Code: Select all
local msg = "123456789"
Spring.Echo( "Sending: " .. msg:len() )
SendLuaUIMsg( msg,"allies")Code: Select all
Sending: 9Code: Select all
function widget:RecvLuaMsg(msg, playerID)
Spring.Echo( "Receiving: " .. msg:len() )
endCode: Select all
Receiving: 10