Version checking

This commit is contained in:
Dan
2019-12-07 19:16:19 +00:00
parent 27b5c68b74
commit 91cafab7f9
3 changed files with 32 additions and 0 deletions

View File

@@ -1153,6 +1153,11 @@ function RADAR:RunControlManager()
if ( IsDisabledControlJustPressed( 1, self.config.rear_lock_key ) ) then
self:LockAntennaSpeed( "rear" )
end
-- Shortcut to restart the resource
if ( IsDisabledControlJustPressed( 1, 167 ) ) then
ExecuteCommand( "restart wk_wars2x" )
end
end
-- Control manager