Skip to content

Commit

Permalink
Update idle.js
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanPaulLucien authored Jul 2, 2018
1 parent f47d9ab commit 7a072ef
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions idle.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ==UserScript==
// @name Ensingm2 SGI Latest
// @name Ensingm2 SGI
// @namespace https://github.com/ensingm2/saliengame_idler
// @version 0.0.21
// @author ensingm2
Expand Down Expand Up @@ -414,9 +414,8 @@ var INJECT_start_round = function(zone, access_token, attempt_no, is_boss_battle
});
}

var INJECT_report_boss_damage = function() {
function success(results) {
boss_options.last_report = new Date().getTime();
var INJECT_report_boss_damage = function() {function success(results) {
boss_options.last_report = new Date().getTime();
if (results.response.waiting_for_players == true) {
gui.updateTask("Waiting for players...");
} else {
Expand Down Expand Up @@ -886,16 +885,11 @@ function CheckSwitchBetterPlanet(difficulty_call) {
} else {
console.log("There's no planet better than the current one.");
}
// Hide the game again
/*$J('#animationsCheckbox').change(function() {
});
$J('#animationsCheckbox').prop('checked', !animations_enabled);
// Hide the game
if($J('#animationsCheckbox').prop('checked'))
{
INJECT_toggle_animations(!this.checked);
}*/
}
}

var INJECT_switch_planet = function(planet_id, callback) {
Expand Down

0 comments on commit 7a072ef

Please sign in to comment.