fix crash when typing into the textbox of a brand new module
@@ -86,6 +86,8 @@ public class EditModuleScreen extends Screen
if(s.isEmpty())
addButton.active = false;
else
+ {
+ if(module.hasTag())
{
for(int i = 1; i <= ModuleItem.MAX_PLAYERS; i++)
{
@@ -97,6 +99,7 @@ public class EditModuleScreen extends Screen
return;
}
}
+ }
addButton.active = true;
}
