From 89632f42590356ac7e8c951c8d151ea471ee3323 Mon Sep 17 00:00:00 2001 From: Ziggeh Date: Sat, 14 Jun 2014 08:57:20 +0200 Subject: [PATCH] Moved GCW officer collection scripts Moved the scripts to the collections directory --- scripts/{gcw => collections}/gcwrank_imperial.py | 0 scripts/{gcw => collections}/gcwrank_rebel.py | 0 src/services/gcw/GCWService.java | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename scripts/{gcw => collections}/gcwrank_imperial.py (100%) rename scripts/{gcw => collections}/gcwrank_rebel.py (100%) diff --git a/scripts/gcw/gcwrank_imperial.py b/scripts/collections/gcwrank_imperial.py similarity index 100% rename from scripts/gcw/gcwrank_imperial.py rename to scripts/collections/gcwrank_imperial.py diff --git a/scripts/gcw/gcwrank_rebel.py b/scripts/collections/gcwrank_rebel.py similarity index 100% rename from scripts/gcw/gcwrank_rebel.py rename to scripts/collections/gcwrank_rebel.py diff --git a/src/services/gcw/GCWService.java b/src/services/gcw/GCWService.java index 0ac88608..f1c775f6 100644 --- a/src/services/gcw/GCWService.java +++ b/src/services/gcw/GCWService.java @@ -562,9 +562,9 @@ public class GCWService implements INetworkDispatch { player.setRankProgress((float) Math.floor(newprogress)); if (newrank > oldrank) { - core.scriptService.callScript("scripts/gcw/", "gcwrank_" + actor.getFaction(), "handleRankUp", core, actor, newrank); + core.scriptService.callScript("scripts/collections/", "gcwrank_" + actor.getFaction(), "handleRankUp", core, actor, newrank); } else { - core.scriptService.callScript("scripts/gcw/", "gcwrank_" + actor.getFaction(), "handleRankDown", actor, newrank); + core.scriptService.callScript("scripts/collections/", "gcwrank_" + actor.getFaction(), "handleRankDown", actor, newrank); } }