# Global Key Command works only after executing an UNDO and re-executing the GKC

**URL:** <https://forum.vassalengine.org/t/global-key-command-works-only-after-executing-an-undo-and-re-executing-the-gkc/90609>\
**Category:** Technical Support & Bugs\
**Created:** [October 23, 2026, 9:57pm UTC](https://forum.vassalengine.org/t/global-key-command-works-only-after-executing-an-undo-and-re-executing-the-gkc/90609 "2026-10-23T21:57:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexander331bc](https://forum.vassalengine.org/letter_avatar_proxy/v4/letter/a/ac91a4/32.png) [@Alexander331bc](https://forum.vassalengine.org/u/Alexander331bc)\
**Post date:** [October 23, 2026, 9:57pm UTC](https://forum.vassalengine.org/t/global-key-command-works-only-after-executing-an-undo-and-re-executing-the-gkc/90609/1 "2026-10-23T21:57:10Z")

</div>

This is a weird one. In my Space Empires module, I have a series of GKCs that execute in a sequence that ends with a bunch of unneeded pieces being deleted via a selfdestruct command. Here’s where it gets strange: Despite my parameters, the SeflDestruct command does not execute for some pieces like it should. BUT, if I press the UNDO button on the main toolbar and re-execute the GKC, it works on the second attempt – **every time.** I offer an explanation in my instructional video: [https://youtu.be/n2\_RuuGCDm8](https://youtu.be/n2_RuuGCDm8)

The module is available here on the site. It’s the latest version. I just thought that developers should know that there’s something weird going on. I’m using VASSAL 3.7.30. \

Thanks!

Joel Toppen

---

<div class="post-metadata">

**Author:** ![uckelman](https://forum.vassalengine.org/user_avatar/forum.vassalengine.org/uckelman/32/10020_2.png) [@uckelman](https://forum.vassalengine.org/u/uckelman)\
**Post date:** [October 24, 2026, 12:36pm UTC](https://forum.vassalengine.org/t/global-key-command-works-only-after-executing-an-undo-and-re-executing-the-gkc/90609/2 "2026-10-24T12:36:13Z")

</div>

Is there a version of Vassal where this does work correctly for you?
