Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/base/ship.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/game/base/ship.cc b/src/game/base/ship.cc
index 2b8411a..a18616e 100644
--- a/src/game/base/ship.cc
+++ b/src/game/base/ship.cc
@@ -196,8 +196,13 @@ void Ship::func_jump(std::string const &args)
owner()->send("Jumping to the " + jumptargetzone->name());
set_zone(jumptargetzone);
- ship_jumpdrive_timer = 0;
- entity_timer = 0;
+ //ship_jumpdrive_timer = 0;
+ //entity_timer = 0;
+
+ // setting the cooldown timer even with cheats on will allow some time for the jump completed sound to play
+ ship_jumpdrive_timer = core::server()->time();
+ entity_timer = jump_cooldown_delay;
+
set_state(core::Entity::Jump);
set_dirty();
return;