Commit f0c3beb
committed
Refactor map commands; reduce emptyClients array
Initialize emptyClients as a fixed 66-entry zeroed array (replacing the 102-loop) in multimode_endvote.sp to simplify and reduce memory. Refactor map command handling in multimode_mapcommands.sp: split ExecuteSubgroupCommandsAndConfig into ExecuteGroupCommands (executes group-level MAPCYCLE_KEY_COMMAND and MAPCYCLE_KEY_CONFIG entries and logs them) and ExecuteSubgroupCommands; run group commands before subgroup commands and adjust KeyValues traversal. Updated compiled plugin binaries (.smx) to match the script changes.1 parent 5f80a2a commit f0c3beb
4 files changed
Lines changed: 54 additions & 6 deletions
File tree
- addons/sourcemod
- plugins
- scripting
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
360 | 360 | | |
361 | 361 | | |
362 | 362 | | |
363 | | - | |
364 | | - | |
| 363 | + | |
365 | 364 | | |
366 | 365 | | |
367 | 366 | | |
| |||
461 | 460 | | |
462 | 461 | | |
463 | 462 | | |
464 | | - | |
465 | | - | |
| 463 | + | |
466 | 464 | | |
467 | 465 | | |
468 | 466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
192 | 240 | | |
193 | 241 | | |
194 | 242 | | |
| |||
244 | 292 | | |
245 | 293 | | |
246 | 294 | | |
| 295 | + | |
| 296 | + | |
247 | 297 | | |
248 | | - | |
| 298 | + | |
249 | 299 | | |
250 | 300 | | |
251 | 301 | | |
| |||
0 commit comments