Include the current addon, terrain integrations, tools, regression tests and recorded development evidence.
16 lines
595 B
Plaintext
16 lines
595 B
Plaintext
modded class ArmaReforgerScripted
|
|
{
|
|
protected float m_ERRPairNext;
|
|
override void OnUpdate(BaseWorld world, float timeslice)
|
|
{
|
|
super.OnUpdate(world, timeslice);
|
|
m_ERRPairNext -= timeslice;
|
|
if (m_ERRPairNext > 0) return;
|
|
m_ERRPairNext = 5;
|
|
if (!GetGameMode()) return;
|
|
ERR_GameMode escape = ERR_GameMode.Get();
|
|
bool takeover = escape && escape.ERR_TerrainTakenOver();
|
|
PrintFormat("ERR TERRAIN PAIR: session=%1 server=%2 mode=%3 takeover=%4 controller=%5", RplSession.Mode(), Replication.IsServer(), GetGameMode().Type().ToString(), takeover, GetPlayerController() != null);
|
|
}
|
|
}
|