Code review comment for lp:~widelands-dev/widelands/bug-1810062-territorial-calculations

Revision history for this message
GunChleoc (gunchleoc) wrote :

I am done with my changes.

LuaField already had a __hash function, but I replaced it with a more efficient one. This means that we now need to test the Atlantean scenario and Trident of Fire on multiplayer.

The port spaces can be accessed like this:

   for index, value in ipairs(map.port_spaces) do
      print(index)
      print("x: " .. value["x"])
      print("y: " .. value["y"])
      for key, val in pairs(value) do
         print(key .. " " .. val)
      end
   end

« Back to merge proposal