use same timings for both portals

This commit is contained in:
Maxicarlos08 2023-08-01 13:16:49 +02:00
parent 6a4a6bab9f
commit 0929a3c76c
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -628,7 +628,7 @@ impl ServerChatCommand {
Float("buildup_time", 5., Optional),
],
"Spawns a portal",
Some(Moderator),
Some(Admin),
),
ServerChatCommand::ReloadChunks => cmd(
vec![],

View File

@ -668,8 +668,8 @@ impl Floor {
supplement.add_entity(EntityInfo::at(top_pos).into_special(
SpecialEntity::Teleporter(Teleporter {
target: bottom_pos + Vec3::unit_x() * 5.,
requires_no_aggro: false,
buildup_time: Secs(1.),
requires_no_aggro: true,
buildup_time: Secs(5.),
}),
));
supplement.add_entity(EntityInfo::at(bottom_pos).into_special(