Skip to content
Snippets Groups Projects
Commit c8e66b43 authored by Robin Halseth Sandvik's avatar Robin Halseth Sandvik
Browse files

Fixed bug with Keys being null.

parent ea61cd41
No related branches found
No related tags found
1 merge request!84Merge, ability cluster
......@@ -42,10 +42,9 @@ namespace BigSock {
public AbilityEntity(IAbility ability, int index, List<KeyCode> keys = null) {
if(ability == null) throw new ArgumentNullException(nameof(ability));
keys ??= new List<KeyCode>();
Ability = ability;
Index = index;
Keys = keys ?? new List<KeyCode>();
}
}
}
fileFormatVersion: 2
guid: b5734a7700fbf65438b9e4f94e46e5ce
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment