mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Fix /camp rest timer exploit
This commit is contained in:
+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