Merge pull request #3010 from summetdev/units-payload

Units payload.
This commit is contained in:
Anuken 2020-10-18 14:43:23 -04:00 committed by GitHub
commit 7fc2d6be18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -241,6 +241,11 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
pay.set(x, y);
pay.dropLastPayload();
pay.set(prevx, prevy);
pay.controlling().each(u -> {
if(u instanceof Payloadc){
Call.payloadDropped(u, u.x, u.y);
}
});
}
}