Fix missing ? in 435d842bc1.

Noticed by @elexis.

This was SVN commit r27776.
This commit is contained in:
Freagarach 2023-07-22 13:56:28 +00:00
parent 7da94fc18f
commit 557f911479

View File

@ -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;