Skip to content

Commit 19ab433

Browse files
committed
Use HDCoreLib's PreSpawn helper method
1 parent 1a3f7da commit 19ab433

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

zscript/ReusableAmmoboxes/spawnReplacer.zs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ class ReusableAmmoboxesSpawner : EventHandler {
229229

230230
// If the map just initialized, replace with reusable boxes.
231231
// Otherwise handle dropping split pickups.
232-
if (level.mapTime <= 1) {
232+
if (HDCore.isPreSpawn()) {
233233
handleMapSpawns(item, candidateName);
234234
} else {
235235
handleDroppedAmmoboxes(item, candidateName);

0 commit comments

Comments
 (0)