summaryrefslogtreecommitdiff
path: root/src/map/atcommand.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-06-30 16:47:03 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-06-30 19:23:28 -0700
commit7c5c2058e9aea996dc6c76a7e6d9ba4fc2a2bc77 (patch)
tree961575586f475d4b47f167a2b40f865f864a0206 /src/map/atcommand.cpp
parent71204f7324a2e01ce50007f16c46386354712ec9 (diff)
downloadtmwa-7c5c2058e9aea996dc6c76a7e6d9ba4fc2a2bc77.tar.gz
tmwa-7c5c2058e9aea996dc6c76a7e6d9ba4fc2a2bc77.tar.bz2
tmwa-7c5c2058e9aea996dc6c76a7e6d9ba4fc2a2bc77.tar.xz
tmwa-7c5c2058e9aea996dc6c76a7e6d9ba4fc2a2bc77.zip
It's about time I did this
Diffstat (limited to 'src/map/atcommand.cpp')
-rw-r--r--src/map/atcommand.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/atcommand.cpp b/src/map/atcommand.cpp
index e6e321d..a17838f 100644
--- a/src/map/atcommand.cpp
+++ b/src/map/atcommand.cpp
@@ -1613,7 +1613,7 @@ ATCE atcommand_pvpon(Session *s, dumb_ptr<map_session_data> sd,
{
if (sd->bl_m == pl_sd->bl_m && !pl_sd->pvp_timer)
{
- pl_sd->pvp_timer = Timer(gettick() + std::chrono::milliseconds(200),
+ pl_sd->pvp_timer = Timer(gettick() + 200_ms,
std::bind(pc_calc_pvprank_timer, ph::_1, ph::_2, pl_sd->bl_id));
pl_sd->pvp_rank = 0;
pl_sd->pvp_lastusers = 0;
@@ -4403,7 +4403,7 @@ ATCE atcommand_summon(Session *, dumb_ptr<map_session_data> sd,
md->master_id = sd->bl_id;
md->state.special_mob_ai = 1;
md->mode = get_mob_db(md->mob_class).mode | MobMode::AGGRESSIVE;
- md->deletetimer = Timer(tick + std::chrono::minutes(1),
+ md->deletetimer = Timer(tick + 1_min,
std::bind(mob_timer_delete, ph::_1, ph::_2,
id));
clif_misceffect(md, 344);