File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -327,6 +327,7 @@ namespace RTE {
327
327
g_NetworkServer.Update (true );
328
328
serverUpdated = true ;
329
329
}
330
+
330
331
g_FrameMan.Update ();
331
332
g_LuaMan.Update ();
332
333
g_ActivityMan.Update ();
Original file line number Diff line number Diff line change @@ -233,6 +233,12 @@ namespace RTE {
233
233
}
234
234
m_ColorTablePruneTimer.Reset ();
235
235
}
236
+
237
+ // Update redundantly in sim update to ensure our values are exactly precise for the purposes of script GetOffset()
238
+ int screenCount = (m_HSplit ? 2 : 1 ) * (m_VSplit ? 2 : 1 );
239
+ for (int playerScreen = 0 ; playerScreen < screenCount; ++playerScreen) {
240
+ g_CameraMan.Update (playerScreen);
241
+ }
236
242
}
237
243
238
244
// ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
You can’t perform that action at this time.
0 commit comments