Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exalted Successes infinite loop bug #52

Merged
merged 1 commit into from
Apr 2, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 5 additions & 1 deletion Exalted Successes/Exalted Successes.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var bshields = bshields || {};
bshields.exalted = (function() {
'use strict';

var version = 2.0;
var version = 2.1;

function handleInput(msg) {
var json = msg.type === 'rollresult' ? JSON.parse(msg.content) : null,
Expand All @@ -31,6 +31,10 @@ bshields.exalted = (function() {
});
});
}

if (results.length === 0) {
return;
}

_.each(results, function(roll) {
_.each(roll, function(die) {
Expand Down
2 changes: 1 addition & 1 deletion Exalted Successes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Exalted Successes",
"version": "2.0",
"version": "2.1",
"description": "Reports successes on d10 rolls for use with the Exalted game system.",
"authors": "Brian Shields",
"roll20userid": "235259",
Expand Down