diff --git a/src/LuaEngine/methods/CreatureMethods.h b/src/LuaEngine/methods/CreatureMethods.h index 81c6fcf..30f1984 100644 --- a/src/LuaEngine/methods/CreatureMethods.h +++ b/src/LuaEngine/methods/CreatureMethods.h @@ -1134,7 +1134,7 @@ namespace LuaCreature int DespawnOrUnsummon(lua_State* L, Creature* creature) { uint32 msTimeToDespawn = Eluna::CHECKVAL(L, 2, 0); - creature->DespawnOrUnsummon(msTimeToDespawn); + creature->DespawnOrUnsummon(Milliseconds(msTimeToDespawn)); return 0; }