Fix for issue #3412 'Global instance timer' (#3414)

On official server the instance timer starts when the instance is created.
This commit is contained in:
Atemo
2018-08-23 15:48:54 +02:00
committed by GitHub
parent 8e51117aaa
commit d8bcc912d8

View File

@@ -457,6 +457,9 @@ int instance_create(int owner_id, const char *name, enum instance_mode mode) {
ShowInfo("[Instance] Created: %s (%hu).\n", name, i);
// Start the instance timer on instance creation
instance_startkeeptimer(&instance_data[i], i);
return i;
}