Skip to content

Commit 039d91d

Browse files
authored
Merge pull request #5324 from SquidCoderIndustries/squid-military-update
fix make squad from the great reorg
2 parents 187e656 + e944a38 commit 039d91d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/modules/Military.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ df::squad* Military::makeSquad(int32_t assignment_id)
123123

124124
for (const auto& routine : routines)
125125
{
126-
df::squad_routine_schedulest* schedule = new df::squad_routine_schedulest[12];
126+
df::squad_routine_schedulest* schedule = new df::squad_routine_schedulest();
127127
auto &asched = schedule->month;
128128

129129
for(int kk=0; kk < 12; kk++)

0 commit comments

Comments
 (0)