Skip to content

Commit f055d8d

Browse files
committed
add isTurnActive
1 parent 7768a6d commit f055d8d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

GameStateHook.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ function listener()
2727
'"isHuman" : ' .. tostring(a:IsHuman()) .. "," ..
2828
'"civilization" : ' .. '"' .. a:GetCivilizationShortDescription() .. '"' .. "," ..
2929
'"isTurnComplete" : ' .. tostring(a:HasReceivedNetTurnComplete()) .. "," ..
30+
'"isTurnActive" : ' .. tostring(a:IsTurnActive()) .. "," ..
3031
'"isOnline" : ' .. tostring(Network.IsPlayerConnected(a:GetID())) .. "," ..
3132
'"isAlive" : ' .. tostring(a:IsAlive()) .. "," ..
3233
'"currentEra" : ' .. a:GetCurrentEra() .. "," ..

0 commit comments

Comments
 (0)