mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-15 19:49:47 +02:00
init with userdata
This commit is contained in:
parent
19e7b19533
commit
12c3792c06
1 changed files with 3 additions and 4 deletions
|
@ -438,13 +438,12 @@ FishTank = function(spawnPosition, spawnRotation) {
|
|||
'reset': true
|
||||
};
|
||||
|
||||
|
||||
Script.setTimeout(function() {
|
||||
setEntityCustomData(customKey, fishTank, data);
|
||||
}, 1500)
|
||||
Script.setTimeout(function() {
|
||||
setEntityCustomData(resetKey, fishTank, resetData);
|
||||
}, 2000)
|
||||
|
||||
|
||||
}, 3000)
|
||||
function cleanup() {
|
||||
Entities.deleteEntity(fishTank);
|
||||
Entities.deleteEntity(tankBase);
|
||||
|
|
Loading…
Reference in a new issue