forked from 0ad/0ad
Fix missing ?
in 435d842bc1
.
Noticed by @elexis. This was SVN commit r27776.
This commit is contained in:
parent
7da94fc18f
commit
557f911479
@ -312,7 +312,7 @@ Diplomacy.prototype.HasSharedLos = function()
|
||||
|
||||
Diplomacy.prototype.UpdateSharedLos = function()
|
||||
{
|
||||
const playerID = Engine.QueryInterface(this.entity, IID_Player).GetPlayerID();
|
||||
const playerID = Engine.QueryInterface(this.entity, IID_Player)?.GetPlayerID();
|
||||
if (playerID === undefined)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user