ainslec / adventuron-issue-tracker

Adventuron Issues Tracker
4 stars 0 forks source link

When starting a game, doesn't seem to be capturing keyboard inputs initially #514

Open ainslec opened 1 year ago

ainslec commented 1 year ago

When starting a game, doesn't seem to be capturing keyboard inputs initially

Pressing ENTER at the start of a game doesn't trigger events.

After clicking for the first time, or restarting a game everything is OK.

Test:

start_at = my_location

locations {
   my_location : location "You are in a room.";
}

on_startup {
   : print "Hello - waiting";
   : press_any_key ;
   : print "Hello - waiting";
   : press_any_key ;
}

on_command {
   : match "test _"  {
         : print "Hello - waiting";
   : press_any_key ;
   : print "Hello - waiting";
   : press_any_key ;
   }
}