mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2026-08-12 18:57:12 +02:00
Don't attempt to overload the cmp metamethod in the chrono library types.
This commit is contained in:
@@ -77,7 +77,7 @@ void Register_ChronoTimer(HSQUIRRELVM vm, Table & /*cns*/)
|
||||
// Core Meta-methods
|
||||
.SquirrelFunc(_SC("_typename"), &Typename::Fn)
|
||||
.Func(_SC("_tostring"), &Timer::ToString)
|
||||
.Func(_SC("_cmp"), &Timer::Cmp)
|
||||
.Func(_SC("cmp"), &Timer::Cmp)
|
||||
// Properties
|
||||
.Prop(_SC("Elapsed"), &Timer::GetElapsedTime)
|
||||
.Prop(_SC("ElapsedRaw"), &Timer::GetElapsedTimeRaw)
|
||||
|
||||
Reference in New Issue
Block a user