Changeset 3331

Show
Ignore:
Timestamp:
11/30/08 17:09:21 (5 weeks ago)
Author:
licho
Message:

testing PW change

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/mods/ca/LuaRules/Gadgets/unit_morph.lua

    r3304 r3331  
    395395   
    396396  if (extraUnitMorphDefs[unitID] ~= nil) then  -- send planetwars deployment message 
    397         local data = defName..","..math.floor(px)..","..math.floor(pz)..",".."S" -- todo determine and apply smart orientation of the structure 
    398         data = GG.base64enc(data) 
    399         Spring.SendCommands("w PlanetWars Encoded mission report:"..data) 
     397        local data = unitTeam..","..defName..","..math.floor(px)..","..math.floor(pz)..",".."S" -- todo determine and apply smart orientation of the structure 
     398        Spring.SendCommands("w pwdeploy:"..data) 
    400399        extraUnitMorphDefs[unitID] = nil 
    401400  end