looks like portals now use type .16, along with .11 and .12 already used

This commit is contained in:
Jon Atkins 2013-04-27 15:18:27 +01:00
parent 0906114a37
commit d42d4bb9ea

View File

@ -232,6 +232,7 @@ window.getTypeByGuid = function(guid) {
// portals end in “.11” or “.12“, links in “.9", fields in “.b” // portals end in “.11” or “.12“, links in “.9", fields in “.b”
// .11 == portals // .11 == portals
// .12 == portals // .12 == portals
// .16 == portals
// .9 == links // .9 == links
// .b == fields // .b == fields
// .c == player/creator // .c == player/creator
@ -245,6 +246,7 @@ window.getTypeByGuid = function(guid) {
switch(guid.slice(33)) { switch(guid.slice(33)) {
case '11': case '11':
case '12': case '12':
case '16':
return TYPE_PORTAL; return TYPE_PORTAL;
case '9': case '9':