1 Commits
Author SHA1 Message Date
Waverunner 3bae814a88 Fixed no line breaks for response function comments 2014-09-12 16:01:03 -04:00
@@ -114,7 +114,7 @@ public class Compiler {
int currentHandler = handleNum + 1; int currentHandler = handleNum + 1;
for (Map.Entry<ConversationNode, ArrayList<ConversationNode>> handleNode : handleFuncs.entrySet()) { for (Map.Entry<ConversationNode, ArrayList<ConversationNode>> handleNode : handleFuncs.entrySet()) {
bw.write("# Handle Response for " + handleNode.getKey().getStf()); bw.write("# Handle Response for " + handleNode.getKey().getStf() + "\n");
createResponseHandler(bw, handleNode.getValue(), currentHandler++, conversationLinks); createResponseHandler(bw, handleNode.getValue(), currentHandler++, conversationLinks);
} }
} }
@@ -141,7 +141,7 @@ public class Compiler {
bw.write(indent4 + "core.conversationService.sendConversationMessage(actor, npc, OutOfBand.ProsePackage('@conversation/" + response.getStf() + "'))\n"); bw.write(indent4 + "core.conversationService.sendConversationMessage(actor, npc, OutOfBand.ProsePackage('@conversation/" + response.getStf() + "'))\n");
bw.write(indent4 + "return\n"); bw.write(indent4 + "return\n");
bw.newLine(); bw.newLine();
bw.write("# Handle Response for " + response.getStf()); bw.write("# Handle Response for " + response.getStf() + "\n");
createResponseHandler(bw, options, handleScreenNum, conversationLinks); createResponseHandler(bw, options, handleScreenNum, conversationLinks);
} }