From 2cc90f6b1aa5af4c435fc067c0700c5f60888c7b Mon Sep 17 00:00:00 2001 From: Mark Lemming Date: Thu, 5 Mar 2015 07:19:34 -0700 Subject: [PATCH] papers please. --- lib/Lacuna/RPC/Building/MissionCommand.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Lacuna/RPC/Building/MissionCommand.pm b/lib/Lacuna/RPC/Building/MissionCommand.pm index 9ce690f3..c9d8556b 100644 --- a/lib/Lacuna/RPC/Building/MissionCommand.pm +++ b/lib/Lacuna/RPC/Building/MissionCommand.pm @@ -59,7 +59,7 @@ sub complete_mission { # this check is repeated later to avoid race conditions, but done early # to give more meaningful errors to those not trying to game the system. confess [1002, 'Already completed that mission in another zone.'] - if Lacuna->cache->get($mission->mission_file_name, $empire->empire_id); + if Lacuna->cache->get($mission->mission_file_name, $empire->id); my $body = $building->body; $mission->check_objectives($body); $mission->complete($body); -- 2.54.0