SRP
SRP copied to clipboard
Log spam with open xray. (fix included)
trafficstars
! [LUA] CharacterCommunity available only for InventoryOwner stack traceback: ...mmon\stalker clear sky\gamedata\scripts\xr_danger.script:72: in function <...mmon\stalker clear sky\gamedata\scripts\xr_danger.script:38>
That looks like a benign error raised by danger_obj:character_community() when danger_obj can't be cast to a CInventoryOwner, which I presume is true of any non-creature entity, e.g. a grenade or sound. You might be able to get rid of it by modifying line 72 of xr_danger.script to be: if IsStalker(danger_obj) and danger_obj:character_community() == self.faction then
edit: credit to github user Decane from openxray for finding this