Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit b332b60

Browse files
committed
Temporary fix so activities with lua issues don't cause the game to go black
May be undone depending on discussion with MaximDude
1 parent 37290be commit b332b60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Managers/ActivityMan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ namespace RTE {
281281

282282
// Need to pass in a clone of the activity because the original will be deleted and re-set during StartActivity.
283283
int activityStarted = m_StartActivity ? StartActivity(dynamic_cast<Activity *>(m_StartActivity->Clone())) : StartActivity(m_DefaultActivityType, m_DefaultActivityName);
284+
g_TimerMan.PauseSim(false);
284285
if (activityStarted >= 0) {
285-
g_TimerMan.PauseSim(false);
286286
m_InActivity = true;
287287
return true;
288288
} else {

0 commit comments

Comments
 (0)