Skip to content

Commit 3555c74

Browse files
committed
fix: maintenance changes
1 parent 74022b5 commit 3555c74

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

modules/RepConvGRC.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3030,7 +3030,7 @@ function _RepConvGRC() {
30303030
}
30313031
var options = {
30323032
body: DM.getl10n('layout','toolbar_activities').incomming_attacks+" : "+(
3033-
require("data/features").isCommandsMenuBubbleWithIndividualPushables()
3033+
!require("data/features").isOldCommandVersion()
30343034
? require("helpers/commands").getTotalCountOfIncomingAttacks()
30353035
: MM.checkAndPublishRawModel('CommandsMenuBubble', {id: Game.player_id}).getIncommingAttacksCommandsCount()
30363036
),
@@ -3052,7 +3052,7 @@ function _RepConvGRC() {
30523052
$('#grcrtSound').hide();
30533053
}
30543054
RepConv.active.attack_count = _ai;/*(
3055-
require("data/features").isCommandsMenuBubbleWithIndividualPushables()
3055+
!require("data/features").isOldCommandVersion()
30563056
? require("helpers/commands").getTotalCountOfIncomingAttacks()
30573057
: MM.checkAndPublishRawModel('CommandsMenuBubble', {id: Game.player_id}).getIncommingAttacksCommandsCount()
30583058
);*/
@@ -3477,7 +3477,7 @@ function _RepConvGRC() {
34773477
new _grcrtWindowGrcRT();
34783478
new _grcrtWindowStats();
34793479
new _grcrtWindowAnalysis();
3480-
if(require("data/features").isCommandsMenuBubbleWithIndividualPushables()){
3480+
if(!require("data/features").isOldCommandVersion()){
34813481
$.Observer(require("data/events").attack.incoming)
34823482
.subscribe('GameEvents.grcrt.attackIncomming',function(a,b){
34833483
attackIncoming(b.count);
@@ -3810,3 +3810,6 @@ function _RepConvGRC() {
38103810
// ------------------------------
38113811

38123812

3813+
/*
3814+
<div class="ph_ratio" style="top: 38px;left: 345px;width: 35px;"></div>
3815+
*/

0 commit comments

Comments
 (0)