mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-19 09:19:03 +02:00
Fix script preload functions
This commit is contained in:
parent
e94cccf08d
commit
cbc69fbf9e
1 changed files with 2 additions and 2 deletions
|
@ -444,8 +444,8 @@ public:
|
|||
((_loadedScript != _script) || (_loadedScriptTimestamp != _scriptTimestamp)); }
|
||||
void scriptHasPreloaded() { _loadedScript = _script; _loadedScriptTimestamp = _scriptTimestamp; }
|
||||
|
||||
bool shouldPreloadServerScript() const { return !_serverScripts.isEmpty() && ((_loadedScript != _script)); }
|
||||
void serverScriptHasPreloaded() { _loadedScript = _script; }
|
||||
bool shouldPreloadServerScript() const { return !_serverScripts.isEmpty() && ((_loadedServerScripts != _serverScripts)); }
|
||||
void serverScriptHasPreloaded() { _loadedServerScripts = _serverScripts; }
|
||||
|
||||
bool getClientOnly() const { return _clientOnly; }
|
||||
void setClientOnly(bool clientOnly) { _clientOnly = clientOnly; }
|
||||
|
|
Loading…
Reference in a new issue