Server/ItemActionType.cs
changeset 231 4c706feaf706
parent 219 99c407831232
     1.1 --- a/Server/ItemActionType.cs	Sun Jul 31 12:03:52 2016 +0200
     1.2 +++ b/Server/ItemActionType.cs	Fri Aug 12 20:25:05 2016 +0200
     1.3 @@ -10,11 +10,11 @@
     1.4      /// <summary>
     1.5      /// Used to populate our action type combobox with friendly names
     1.6      /// </summary>
     1.7 -    class ItemActionType
     1.8 +    class ItemObjectType
     1.9      {
    1.10          public Type Type;
    1.11  
    1.12 -        public ItemActionType(Type type)
    1.13 +        public ItemObjectType(Type type)
    1.14          {
    1.15              this.Type = type;
    1.16          }
    1.17 @@ -23,7 +23,7 @@
    1.18          {
    1.19              //Get friendly action name from action attribute.
    1.20              //That we then show up in our combobox
    1.21 -            return SharpLib.Utils.Reflection.GetAttribute<AttributeAction>(Type).Name;
    1.22 +            return SharpLib.Utils.Reflection.GetAttribute<AttributeObject>(Type).Name;
    1.23          }
    1.24      }
    1.25  }