From 40c323039e36b131e7949131193eee8c242d8f40 Mon Sep 17 00:00:00 2001 From: screeps-qnz <53295528+screeps-qnz@users.noreply.github.com> Date: Tue, 14 Apr 2020 16:35:06 +0200 Subject: [PATCH] clarify PowerCreep.withdraw() target types since the intent is just copied from Creep, PowerCreep.withdraw() also works on Ruins --- api/source/PowerCreep.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/source/PowerCreep.md b/api/source/PowerCreep.md index 70d7ad32..ef299bdb 100644 --- a/api/source/PowerCreep.md +++ b/api/source/PowerCreep.md @@ -780,7 +780,7 @@ Withdraw resources from a structure or tombstone. The target has to be at adjace This method should not be used to transfer resources between creeps. To transfer between creeps, use the [`transfer`](#Creep.transfer) method on the original creep. {% api_method_params %} -target : Structure, Tombstone +target : Structure, Tombstone, Ruin The target object. === resourceType : string