mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-23 04:37:16 +00:00
Fix /camp rest timer exploit
This commit is contained in:
1 parent
d0956194af
commit
37ff8c830d
6 files changed
+27
-47
No files matched your search
+1
-1
@@ -129,7 +129,7 @@ void Timer::SetTimer(uint32 set_timer_time) {
|
||||
}
|
||||
}
|
||||
|
||||
uint32 Timer::GetRemainingTime() {
|
||||
uint32 Timer::GetRemainingTime() const {
|
||||
if (enabled) {
|
||||
if (current_time - start_time > timer_time)
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user