calmackenzie / VG1819

Final Project for CS4830 2018 - 2019
0 stars 2 forks source link

Top right end turn button does not work on commanders #401

Closed calmackenzie closed 5 years ago

calmackenzie commented 5 years ago

The top right "end turn" button does not work on commanders

Steps:

  1. Launch game
  2. Enter testing (make sure to add commander)
  3. Click end turn button in top right
  4. Observe nothing happening
SRJYC commented 5 years ago

Skip turn only works when The Game Instance has same clientId as unit's. In test ground, Game Instance clientId is -1. Did you change commander clientId? Like 0 or 1.

calmackenzie commented 5 years ago

I did, I tried with both 0 and 1

SRJYC commented 5 years ago

Yeah, that's why it doesn't work. Comment that line out.(Default is -1 which will work)

calmackenzie commented 5 years ago

Cool, that fixed it